Remove participant ID from hi message
This commit is contained in:
parent
d3822fe933
commit
c835d4611a
|
@ -141,8 +141,6 @@ export class Channel {
|
||||||
socket.currentChannelID = this.getID();
|
socket.currentChannelID = this.getID();
|
||||||
}
|
}
|
||||||
|
|
||||||
this.logger.debug("Participant list:", this.ppl);
|
|
||||||
|
|
||||||
// Send our data back
|
// Send our data back
|
||||||
socket.sendArray([
|
socket.sendArray([
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,11 @@ export const hi: ServerEventListener<"hi"> = {
|
||||||
accountInfo: undefined,
|
accountInfo: undefined,
|
||||||
permissions: undefined,
|
permissions: undefined,
|
||||||
t: Date.now(),
|
t: Date.now(),
|
||||||
u: part
|
u: {
|
||||||
|
_id: part._id,
|
||||||
|
color: part.color,
|
||||||
|
name: part.name
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue