Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
jibon57 committed Oct 16, 2024
1 parent 13401fd commit 7c2b2d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helpers/nats/ConnectNats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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);
Expand Down

0 comments on commit 7c2b2d4

Please sign in to comment.