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