fix on-the-fly auth

This commit is contained in:
isymchych 2016-02-25 14:32:34 +02:00
parent 194b991fb1
commit e478a73988
1 changed files with 1 additions and 7 deletions

View File

@ -69,13 +69,7 @@ function doXmppAuth (room, lockPassword) {
APP.translation.translateString('connection.GOT_SESSION_ID')
);
if (room.isJoined()) {
// just reallocate focus if already joined
room.room.moderator.allocateConferenceFocus();
} else {
// or join
room.join(lockPassword);
}
room.join(lockPassword);
loginDialog.close();
}).catch(function (error, code) {