From 7c2b2d45d2cf2f3c13c53a684941fd2c684e2ba4 Mon Sep 17 00:00:00 2001 From: Jibon Date: Wed, 16 Oct 2024 18:50:18 +0200 Subject: [PATCH] clean up --- src/helpers/nats/ConnectNats.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/nats/ConnectNats.ts b/src/helpers/nats/ConnectNats.ts index c267c423..cab01a60 100644 --- a/src/helpers/nats/ConnectNats.ts +++ b/src/helpers/nats/ConnectNats.ts @@ -209,7 +209,6 @@ export default class ConnectNats { }); this._setRoomConnectionStatusState('disconnected'); - // redirect to log out url setTimeout(() => { const meta = this._currentRoomInfo?.metadata; if (meta?.isBreakoutRoom) { @@ -219,6 +218,7 @@ export default class ConnectNats { const logout_url = meta?.logoutUrl; if (logout_url && logout_url !== '' && isURL(logout_url)) { + // redirect to log out url window.location.href = logout_url; } }, 3000);