make removing own membership a bit clearer in the logs

This commit is contained in:
Bruno Windels 2022-09-30 11:21:26 +02:00
parent b694d13348
commit 1dddabc038

View File

@ -432,8 +432,9 @@ export class GroupCall extends EventEmitter<{change: never}> {
}
private removeOwnDevice(log: ILogItem) {
log.set("leave_own", true);
this.disconnect(log);
log.wrap("remove own membership", log => {
this.disconnect(log);
});
}
/** @internal */