From cc991c4b8a1342d88b4b7c37ee3482619d73bfe9 Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Sat, 18 Jun 2022 00:47:51 -0400 Subject: [PATCH] hidden user hotfix --- src/Channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Channel.js b/src/Channel.js index 47abcc5..90ae44f 100644 --- a/src/Channel.js +++ b/src/Channel.js @@ -271,7 +271,7 @@ class Channel extends EventEmitter { if (cl) { if (c.hidden == true && c.user._id !== cl.user._id) { return; - } else { + } else if (c.user._id == cl.user._id) { let u = { _id: c.user._id, name: c.user.name + ' [HIDDEN]',