forked from Hri7566/mpp-server-dev2
hidden user hotfix 2
This commit is contained in:
parent
f4fb9cf83d
commit
c41a961986
|
@ -272,13 +272,13 @@ class Channel extends EventEmitter {
|
||||||
if (c.hidden == true && c.user._id !== cl.user._id) {
|
if (c.hidden == true && c.user._id !== cl.user._id) {
|
||||||
return;
|
return;
|
||||||
} else if (c.user._id == cl.user._id) {
|
} else if (c.user._id == cl.user._id) {
|
||||||
let u = {
|
// let u = {
|
||||||
_id: c.user._id,
|
// _id: c.user._id,
|
||||||
name: c.user.name + ' [HIDDEN]',
|
// name: c.user.name + ' [HIDDEN]',
|
||||||
color: c.user.color,
|
// color: c.user.color,
|
||||||
id: c.participantId
|
// id: c.participantId
|
||||||
}
|
// }
|
||||||
chppl.push(u);
|
// chppl.push(u);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
let u = {
|
let u = {
|
||||||
|
|
Loading…
Reference in New Issue