When a user attempts to join a room, either via the UI or manually by adjusting the search params, this checks to see if the room is public or created by the user. If either fails, redirect to /404 (which needs to be make as of this commit).
Update the ChatRoom interface property public to isPublic as that was causing some issues in destructuring
When a user attempts to join a room, either via the UI or manually by adjusting the search params, this checks to see if the room is public or created by the user. If either fails, redirect to /404 (which needs to be make as of this commit).
ChatRoom
interface propertypublic
toisPublic
as that was causing some issues in destructuring