Return authentication status to user
This commit is contained in:
committed by
Mészáros Mihály
parent
12dc5ea28b
commit
dd0d092857
@@ -2239,7 +2239,7 @@ export default class RoomClient
|
||||
canShareFiles : this._torrentSupport
|
||||
}));
|
||||
|
||||
const { peers } = await this.sendRequest(
|
||||
const { peers, authenticated } = await this.sendRequest(
|
||||
'join',
|
||||
{
|
||||
displayName : displayName,
|
||||
@@ -2247,6 +2247,8 @@ export default class RoomClient
|
||||
rtpCapabilities : this._mediasoupDevice.rtpCapabilities
|
||||
});
|
||||
|
||||
store.dispatch(meActions.loggedIn(authenticated));
|
||||
|
||||
logger.debug('_joinRoom() joined, got peers [peers:"%o"]', peers);
|
||||
|
||||
for (const peer of peers)
|
||||
|
||||
Reference in New Issue
Block a user