|
|
@@ -1229,7 +1229,9 @@ export default class ChatRoom extends Listenable {
|
|
1229
|
1229
|
lobbyRoomJid = lobbyRoomNode.text();
|
|
1230
|
1230
|
}
|
|
1231
|
1231
|
|
|
1232
|
|
- this.eventEmitter.emit(XMPPEvents.ROOM_CONNECT_MEMBERS_ONLY_ERROR, lobbyRoomJid);
|
|
|
1232
|
+ const waitingForHost = $(pres).find('>error[type="auth"]>waiting-for-host').length > 0;
|
|
|
1233
|
+
|
|
|
1234
|
+ this.eventEmitter.emit(XMPPEvents.ROOM_CONNECT_MEMBERS_ONLY_ERROR, lobbyRoomJid, waitingForHost);
|
|
1233
|
1235
|
} else if ((errorDescriptionNode = $(pres).find(
|
|
1234
|
1236
|
'>error[type="modify"]>displayname-required[xmlns="http://jitsi.org/jitmeet"]')).length) {
|
|
1235
|
1237
|
logger.warn('display name required ', pres);
|