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