[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -255,7 +255,7 @@ io.on('connection', (socket) => {
|
||||
};
|
||||
if (data.password == roomList.get(socket.room_id).getPassword()) {
|
||||
roomData.room = roomList.get(socket.room_id).toJson();
|
||||
roomData.password = 'OK'
|
||||
roomData.password = 'OK';
|
||||
roomList.get(socket.room_id).sendTo(socket.id, 'roomPassword', roomData);
|
||||
} else {
|
||||
roomList.get(socket.room_id).sendTo(socket.id, 'roomPassword', roomData);
|
||||
|
||||
@@ -2099,7 +2099,7 @@ class RoomClient {
|
||||
case 'lock':
|
||||
this.sound('locked');
|
||||
this.event(_EVENTS.roomLock);
|
||||
this.userLog('info', '🔒 LOCKED the room with the password: ' + this.RoomPassword, 'top-end');
|
||||
this.userLog('info', '🔒 LOCKED the room by the password', 'top-end');
|
||||
break;
|
||||
case 'unlock':
|
||||
this.event(_EVENTS.roomUnlock);
|
||||
@@ -2148,7 +2148,7 @@ class RoomClient {
|
||||
let data = {
|
||||
action: 'checkPassword',
|
||||
password: this.RoomPassword,
|
||||
}
|
||||
};
|
||||
this.socket.emit('roomAction', data);
|
||||
});
|
||||
}
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم