Some cleanup.
This commit is contained in:
1 parent
cacc9abf7c
commit
bb8cf02c23
5 files changed
+80
-32
No files matched your search
@@ -321,12 +321,7 @@ export default class RoomClient
|
||||
|
||||
const { displayName, picture } = data;
|
||||
|
||||
if (store.getState().room.joined || store.getState().room.inLobby)
|
||||
{
|
||||
this.changeDisplayName(displayName);
|
||||
this.changeProfilePicture(picture);
|
||||
}
|
||||
|
||||
store.dispatch(stateActions.setDisplayName(displayName));
|
||||
store.dispatch(stateActions.setPicture(picture));
|
||||
store.dispatch(stateActions.loggedIn());
|
||||
|
||||
|
||||
Reference in new issue
Block a user