fix peer auth propagation
parent
f204ff0222
commit
dd19560951
|
|
@ -330,8 +330,6 @@ export default class RoomClient
|
|||
{
|
||||
text : 'You are logged in.'
|
||||
}));
|
||||
this.changeDisplayName(displayName);
|
||||
this.changePicture(picture)
|
||||
}
|
||||
|
||||
_soundNotification()
|
||||
|
|
|
|||
|
|
@ -106,10 +106,12 @@ class Peer extends EventEmitter
|
|||
email && (this.email = email);
|
||||
|
||||
this.authenticated = true;
|
||||
this.emit('authenticationChanged');
|
||||
}
|
||||
else
|
||||
{
|
||||
this.authenticated = false;
|
||||
this.emit('authenticationChanged');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue