From f1aa62cfbcd9433c6cb4e7aca6b4dcf4ea305ef7 Mon Sep 17 00:00:00 2001 From: rainbownapkin Date: Tue, 29 Sep 2026 21:01:02 -0400 Subject: [PATCH] Fixed bad conditional in webRTCHandler --- www/js/channel/webRTCHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/channel/webRTCHandler.js b/www/js/channel/webRTCHandler.js index 75f7b31..c740f89 100644 --- a/www/js/channel/webRTCHandler.js +++ b/www/js/channel/webRTCHandler.js @@ -172,7 +172,7 @@ class webRTCHandler{ const viewer = this.currentViewers.get(data.source.user); //If not - if(data.user == null){ + if(viewer == null){ //Create a new connected viewer object from the received data, and store it in the currentViewers map by username this.currentViewers.set(data.source.user, new connectedViewer( data.source.user,