hidden user hotfix

This commit is contained in:
Hri7566 2022-06-18 00:47:51 -04:00
parent 1bc0e443f1
commit cc991c4b8a
1 changed files with 1 additions and 1 deletions

View File

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