Fixed bad conditional in webRTCHandler

This commit is contained in:
rainbow napkin 2026-09-29 21:01:02 -04:00
parent a9258ae35c
commit f1aa62cfbc

View file

@ -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,