From af6077dbaa8ce86aea91836321c94263c53d0f03 Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Sat, 18 Jun 2022 00:49:51 -0400 Subject: [PATCH] hidden user hotfix 2 --- src/Channel.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Channel.js b/src/Channel.js index 90ae44f..664b7f7 100644 --- a/src/Channel.js +++ b/src/Channel.js @@ -272,13 +272,13 @@ class Channel extends EventEmitter { if (c.hidden == true && c.user._id !== cl.user._id) { return; } else if (c.user._id == cl.user._id) { - let u = { - _id: c.user._id, - name: c.user.name + ' [HIDDEN]', - color: c.user.color, - id: c.participantId - } - chppl.push(u); + // let u = { + // _id: c.user._id, + // name: c.user.name + ' [HIDDEN]', + // color: c.user.color, + // id: c.participantId + // } + // chppl.push(u); } } let u = {