[mirotalksfu] - fix popup msg on lobby
هذا الالتزام موجود في:
@@ -3925,7 +3925,7 @@ class RoomClient {
|
|||||||
// ROOM ACTION
|
// ROOM ACTION
|
||||||
// ####################################################
|
// ####################################################
|
||||||
|
|
||||||
roomAction(action, emit = true) {
|
roomAction(action, emit = true, popup = true) {
|
||||||
let data = {
|
let data = {
|
||||||
room_id: this.room_id,
|
room_id: this.room_id,
|
||||||
peer_id: this.peer_id,
|
peer_id: this.peer_id,
|
||||||
@@ -3987,11 +3987,11 @@ class RoomClient {
|
|||||||
break;
|
break;
|
||||||
case 'lobbyOn':
|
case 'lobbyOn':
|
||||||
this.socket.emit('roomAction', data);
|
this.socket.emit('roomAction', data);
|
||||||
this.roomStatus(action);
|
if (popup) this.roomStatus(action);
|
||||||
break;
|
break;
|
||||||
case 'lobbyOff':
|
case 'lobbyOff':
|
||||||
this.socket.emit('roomAction', data);
|
this.socket.emit('roomAction', data);
|
||||||
this.roomStatus(action);
|
if (popup) this.roomStatus(action);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ function handleRules(isPresenter) {
|
|||||||
//...
|
//...
|
||||||
isLobbyEnabled = lsSettings.lobby;
|
isLobbyEnabled = lsSettings.lobby;
|
||||||
switchLobby.checked = isLobbyEnabled;
|
switchLobby.checked = isLobbyEnabled;
|
||||||
rc.roomAction(isLobbyEnabled ? 'lobbyOn' : 'lobbyOff');
|
rc.roomAction(isLobbyEnabled ? 'lobbyOn' : 'lobbyOff', true, false);
|
||||||
//...
|
//...
|
||||||
}
|
}
|
||||||
// main. settings...
|
// main. settings...
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم