Skip to content

Commit

Permalink
fix: broadcastBrowser conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Jan 31, 2024
1 parent 4ffe075 commit 736b8c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 736b8c2

Please sign in to comment.