[mirotalksfu] - fix popup msg on lobby

هذا الالتزام موجود في:
Miroslav Pejic
2023-09-05 15:11:29 +02:00
الأصل 832899c17b
التزام 372c3d6b1e
2 ملفات معدلة مع 4 إضافات و4 حذوفات

عرض الملف

@@ -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...