Closed Bug 1169763 Opened 9 years ago Closed 9 years ago

Loop server accepts bogus room IDs

Categories

(Hello (Loop) :: Server, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1110937

People

(Reporter: ekr, Unassigned)

Details

Attachments

(2 files)

If you put in a bogus room ID, the loop server just acts like it's a real ID and shows you the waiting in room UX.
And then when you try to start the call it fails and offers to let you "Retry" as if that's going to help
More to the point, there's no check for token validity prior to granting camera access. What we're going to want to do here is a GET for the room information prior to acquiring the camera, and issuing an error message before asking the user to join the conversation.

I'll note that the current error message you get in this case (after granting device access) is accompanied by a "retry" button. This button should be removed, since retrying an invalid room token is never going to work.
This is bug 1110937 - we need to move the GET to before the join. Originally the server didn't allow a GET before the join, but that was changed and we haven't caught up yet.

That bug is also going to drop the retry button.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: