forked from Hri7566/mpp-server-dev2
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();
|
||||
}
|
||||
|
||||
this.logger.debug("Participant list:", this.ppl);
|
||||
|
||||
// Send our data back
|
||||
socket.sendArray([
|
||||
{
|
||||
|
|
|
@ -22,7 +22,11 @@ export const hi: ServerEventListener<"hi"> = {
|
|||
accountInfo: undefined,
|
||||
permissions: undefined,
|
||||
t: Date.now(),
|
||||
u: part
|
||||
u: {
|
||||
_id: part._id,
|
||||
color: part.color,
|
||||
name: part.name
|
||||
}
|
||||
}
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue