}
log.debug("Joining MUC...");
boolean createdRoom = false;
MUCSession mucSession = new MUCSession(saros.getSarosNet()
.getConnection(), preferences);
try {
createdRoom = mucSession.connect();
} catch (XMPPException e) {
log.error("Couldn't join chat: " + preferences.getRoom(), e);
return null;
}
this.mucSessions.add(mucSession);
mucSession.setState(ChatState.active);
/*
* Notification
*/
if (createdRoom) {