|
|
|
@ -2099,7 +2099,7 @@ class RoomClient {
|
|
|
|
case 'lock':
|
|
|
|
case 'lock':
|
|
|
|
this.sound('locked');
|
|
|
|
this.sound('locked');
|
|
|
|
this.event(_EVENTS.roomLock);
|
|
|
|
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;
|
|
|
|
break;
|
|
|
|
case 'unlock':
|
|
|
|
case 'unlock':
|
|
|
|
this.event(_EVENTS.roomUnlock);
|
|
|
|
this.event(_EVENTS.roomUnlock);
|
|
|
|
@ -2148,7 +2148,7 @@ class RoomClient {
|
|
|
|
let data = {
|
|
|
|
let data = {
|
|
|
|
action: 'checkPassword',
|
|
|
|
action: 'checkPassword',
|
|
|
|
password: this.RoomPassword,
|
|
|
|
password: this.RoomPassword,
|
|
|
|
}
|
|
|
|
};
|
|
|
|
this.socket.emit('roomAction', data);
|
|
|
|
this.socket.emit('roomAction', data);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|