From 736b8c29d867b7d80bd2007f8a17f900f5be3ef0 Mon Sep 17 00:00:00 2001 From: frankpagan Date: Wed, 31 Jan 2024 11:30:08 -0500 Subject: [PATCH] fix: broadcastBrowser conditions --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 26c5abc..a665e21 100644 --- a/src/index.js +++ b/src/index.js @@ -358,7 +358,7 @@ delete data.room; let broadcastBrowser = false - if (data.broadcastBrowser === 'false' && data.broadcastBrowser === false) + if (data.broadcastBrowser === 'false' || data.broadcastBrowser === false) broadcastBrowser = false; else broadcastBrowser = true;