Creatoon/Jar-web-app

User can re-join the same issue

Opened this issue · 4 comments

Describe the bug

Users are able to rejoin the same room.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://jaarr.herokuapp.com
  2. Join a room twice
  3. See an error

Expected behavior
An error should be thrown that "You have already joined this room" and redirect to that room.

Screenshots
Screenshot from 2021-06-18 21-19-59

@Creatoon
I would like to work on this issue, please assign it to me if it is not assigned to anyone.

@Creatoon I would like to work on this issue (LGM SoC)

Sanskar first volunteered to work on this issue, if he will not able to make a pr, then I will assign it to @adi611

@Creatoon am not able to produce the bug, it shows alert "you have already joined the room." .