User can login without joining.
This commit is contained in:
@@ -324,8 +324,11 @@ export default class RoomClient
|
||||
|
||||
const { displayName, picture } = data;
|
||||
|
||||
this.changeDisplayName(displayName);
|
||||
this.changeProfilePicture(picture);
|
||||
if (store.getState().room.joined)
|
||||
{
|
||||
this.changeDisplayName(displayName);
|
||||
this.changeProfilePicture(picture);
|
||||
}
|
||||
|
||||
store.dispatch(stateActions.setPicture(picture));
|
||||
store.dispatch(stateActions.loggedIn());
|
||||
|
||||
+1
-1
@@ -280,7 +280,7 @@ async function setupAuth(oidcIssuer)
|
||||
|
||||
const room = rooms.get(state.roomId);
|
||||
|
||||
room.peerAuthenticated(state.peerId);
|
||||
room && room.peerAuthenticated(state.peerId);
|
||||
|
||||
res.send(httpHelper({
|
||||
success : true,
|
||||
|
||||
Reference in New Issue
Block a user