Skip to content

Commit

Permalink
[mirotalk] - fix lock room
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Jun 30, 2022
1 parent ad74371 commit 0f4ad36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,8 @@ io.sockets.on('connect', (socket) => {
room_is_locked = true;
break;
case 'unlock':
peers[room_id]['lock'] = false;
peers[room_id]['password'] = password;
delete peers[room_id]['lock'];
delete peers[room_id]['password'];
sendToRoom(room_id, socket.id, 'roomAction', {
peer_name: peer_name,
action: action,
Expand Down

0 comments on commit 0f4ad36

Please sign in to comment.