fix peer auth propagation

master
Stefan Otto 2019-10-31 05:26:59 +01:00
parent f204ff0222
commit dd19560951
2 changed files with 2 additions and 2 deletions

View File

@ -330,8 +330,6 @@ export default class RoomClient
{ {
text : 'You are logged in.' text : 'You are logged in.'
})); }));
this.changeDisplayName(displayName);
this.changePicture(picture)
} }
_soundNotification() _soundNotification()

View File

@ -106,10 +106,12 @@ class Peer extends EventEmitter
email && (this.email = email); email && (this.email = email);
this.authenticated = true; this.authenticated = true;
this.emit('authenticationChanged');
} }
else else
{ {
this.authenticated = false; this.authenticated = false;
this.emit('authenticationChanged');
} }
} }