real-time-chat icon indicating copy to clipboard operation
real-time-chat copied to clipboard

[fix]: bugs in userManager.ts

Open sanam2405 opened this issue 1 year ago • 0 comments
trafficstars

1. an existing user should not be duplicated in the same room

  • [x] check if user exists in the room before pushing a new user to the room

2. removeUser method doesn't update the room users after a particular room user is removed

  • [x] update the room.users after current user filtering is done

sanam2405 avatar Apr 16 '24 07:04 sanam2405