fix peer auth propagation
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user