frontend: prevent removal of moderator secret on participant left due to browser unload
This commit is contained in:
parent
9618ec6f29
commit
8c0ae5a725
@ -153,7 +153,10 @@ export class VideoRoomComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.wcManagerService.sendMessageToParent(message);
|
this.wcManagerService.sendMessageToParent(message);
|
||||||
|
|
||||||
|
if (event.reason !== ParticipantLeftReason.BROWSER_UNLOAD) {
|
||||||
this.sessionStorageService.removeModeratorSecret(event.roomName);
|
this.sessionStorageService.removeModeratorSecret(event.roomName);
|
||||||
|
}
|
||||||
|
|
||||||
//if (this.contextService.isEmbeddedMode()) this.sendMessageToParent(event);
|
//if (this.contextService.isEmbeddedMode()) this.sendMessageToParent(event);
|
||||||
this.redirectTo(redirectURL, isExternalURL);
|
this.redirectTo(redirectURL, isExternalURL);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user