Skip to content
Snippets Groups Projects
Commit d7ec741f authored by Tom Käsler's avatar Tom Käsler
Browse files

Fix room join

The removed code resulted in losing the account when joining a room as participant where user is creator.

Regression commit: 8b94b1c7
parent 49977dbe
No related merge requests found
......@@ -65,12 +65,7 @@ export class RoomJoinComponent implements OnInit {
if (!this.user) {
this.guestLogin();
} else {
if (this.user.role === UserRole.CREATOR) {
this.authenticationService.logout();
this.guestLogin();
} else {
this.addAndNavigate();
}
this.addAndNavigate();
}
}
});
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment