User can login without joining.

master
Håvar Aambø Fosstveit 2019-10-24 10:32:28 +02:00
parent 7b65328789
commit 7e292b29c1
2 changed files with 6 additions and 3 deletions

View File

@ -324,8 +324,11 @@ export default class RoomClient
const { displayName, picture } = data;
if (store.getState().room.joined)
{
this.changeDisplayName(displayName);
this.changeProfilePicture(picture);
}
store.dispatch(stateActions.setPicture(picture));
store.dispatch(stateActions.loggedIn());

View File

@ -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,