hidden user hotfix 2

This commit is contained in:
Hri7566 2022-06-18 00:49:51 -04:00
parent f4fb9cf83d
commit c41a961986
1 changed files with 7 additions and 7 deletions

View File

@ -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 = {