forked from mystiq/hydrogen-web
some logging cleanup
This commit is contained in:
parent
0be75d9c59
commit
2d9b69751f
1 changed files with 8 additions and 9 deletions
|
@ -329,7 +329,7 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
|||
/** @internal */
|
||||
private removeMemberDevice(userId: string, deviceId: string, log: ILogItem) {
|
||||
const memberKey = getMemberKey(userId, deviceId);
|
||||
log.wrap({l: "removeMemberDevice", id: memberKey}, log => {
|
||||
log.set("id", memberKey);
|
||||
const member = this._members.get(memberKey);
|
||||
if (member) {
|
||||
log.set("leave", true);
|
||||
|
@ -337,7 +337,6 @@ export class GroupCall extends EventEmitter<{change: never}> {
|
|||
member.disconnect(false);
|
||||
}
|
||||
this.emitChange();
|
||||
});
|
||||
}
|
||||
|
||||
/** @internal */
|
||||
|
|
Loading…
Reference in a new issue