mirror of
https://github.com/edumeet/edumeet.git
synced 2026-07-30 14:30:16 +00:00
Fix lint
This commit is contained in:
parent
8637fd483a
commit
b87fbf3731
2 changed files with 6 additions and 9 deletions
|
|
@ -1398,7 +1398,6 @@ export default class RoomClient
|
|||
start
|
||||
)
|
||||
{
|
||||
|
||||
if (this._webcamProducer)
|
||||
await this.disableWebcam();
|
||||
|
||||
|
|
@ -2788,7 +2787,7 @@ export default class RoomClient
|
|||
const { id, displayName, picture, roles } = notification.data;
|
||||
|
||||
store.dispatch(peerActions.addPeer(
|
||||
{ id, displayName, picture, roles, consumers: [] }));
|
||||
{ id, displayName, picture, roles, consumers: [] }));
|
||||
|
||||
this._spotlights.newPeer(id);
|
||||
|
||||
|
|
@ -3291,7 +3290,8 @@ export default class RoomClient
|
|||
if (
|
||||
joinVideo &&
|
||||
this._havePermission(permissions.SHARE_VIDEO)
|
||||
){
|
||||
)
|
||||
{
|
||||
this.updateWebcam({ start: true });
|
||||
}
|
||||
if (
|
||||
|
|
@ -3310,8 +3310,6 @@ export default class RoomClient
|
|||
if (autoMuteThreshold && peers.length >= autoMuteThreshold)
|
||||
this.muteMic();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
await this._updateAudioOutputDevices();
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ export default class Spotlights
|
|||
this._spotlightsUpdated();
|
||||
}
|
||||
|
||||
|
||||
peerInSpotlights(peerId)
|
||||
{
|
||||
return this._currentSpotlights.indexOf(peerId) !== -1;
|
||||
|
|
@ -37,7 +36,7 @@ export default class Spotlights
|
|||
logger.debug('addPeerToSpotlight() [peerId:"%s"]', peerId);
|
||||
|
||||
this._selectedSpotlights = [ ...this._selectedSpotlights, peerId ];
|
||||
this._spotlightsUpdated();
|
||||
this._spotlightsUpdated();
|
||||
}
|
||||
|
||||
removePeerSpotlight(peerId)
|
||||
|
|
@ -48,7 +47,7 @@ export default class Spotlights
|
|||
this._selectedSpotlights.filter((peer) =>
|
||||
peer !== peerId);
|
||||
|
||||
this._spotlightsUpdated();
|
||||
this._spotlightsUpdated();
|
||||
}
|
||||
|
||||
clearSpotlights()
|
||||
|
|
@ -125,7 +124,7 @@ export default class Spotlights
|
|||
}
|
||||
|
||||
if (!this._arraysEqual(
|
||||
this._currentSpotlights, spotlights.slice(0, maxSpotlights)))
|
||||
this._currentSpotlights, spotlights.slice(0, maxSpotlights)))
|
||||
{
|
||||
logger.debug('_spotlightsUpdated() | spotlights updated, emitting');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue