User can login without joining.
parent
7b65328789
commit
7e292b29c1
|
|
@ -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());
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue