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;