Skip to content

Commit 10e830e

Browse files
committed
Check hand raised users on disconnect to prevent bug
1 parent ebc954a commit 10e830e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/src/main/java/urjc/ovteaching/rooms/controllers/OpenViduController.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ public ResponseEntity<String> removeUser(@PathVariable String roomName, HttpServ
166166
// The last user has left the room
167167
this.openViduComponent.removeSession(room);
168168
}
169+
this.roomServ.checkConnectedHandRaisedUsers(room);
169170
return new ResponseEntity<>(HttpStatus.OK);
170171
} else {
171172
// User didn't have a valid token

0 commit comments

Comments
 (0)