mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
cleanup loops here to not get keys
This commit is contained in:
parent
43dea3bfdc
commit
365157449e
@ -226,7 +226,7 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
|||||||
this.emitChange();
|
this.emitChange();
|
||||||
});
|
});
|
||||||
// send invite to all members that are < my userId
|
// send invite to all members that are < my userId
|
||||||
for (const [,member] of this._members) {
|
for (const member of this._members.values()) {
|
||||||
this.connectToMember(member, joinedData, log);
|
this.connectToMember(member, joinedData, log);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -530,7 +530,7 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
|||||||
disconnect(log: ILogItem): boolean {
|
disconnect(log: ILogItem): boolean {
|
||||||
return this.errorBoundary.try(() => {
|
return this.errorBoundary.try(() => {
|
||||||
if (this.hasJoined) {
|
if (this.hasJoined) {
|
||||||
for (const [,member] of this._members) {
|
for (const member of this._members.values()) {
|
||||||
const disconnectLogItem = member.disconnect(true);
|
const disconnectLogItem = member.disconnect(true);
|
||||||
if (disconnectLogItem) {
|
if (disconnectLogItem) {
|
||||||
log.refDetached(disconnectLogItem);
|
log.refDetached(disconnectLogItem);
|
||||||
|
Loading…
Reference in New Issue
Block a user