mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 03:25:52 +01:00
make this code a bit clearer
This commit is contained in:
parent
fcb4f2a62d
commit
cb0f803276
@ -216,8 +216,8 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
||||
// you might be muted because you don't have a track or because
|
||||
// you actively chosen to mute
|
||||
// (which we want to respect in the future when you add a track)
|
||||
muteSettings.updateTrackInfo(joinedData.localMedia.userMedia);
|
||||
joinedData.localMuteSettings = muteSettings;
|
||||
joinedData.localMuteSettings.updateTrackInfo(joinedData.localMedia.userMedia);
|
||||
if (!prevMuteSettings.equals(muteSettings)) {
|
||||
await Promise.all(Array.from(this._members.values()).map(m => {
|
||||
return m.setMuted(joinedData.localMuteSettings);
|
||||
|
Loading…
Reference in New Issue
Block a user