Remove participant ID from hi message

This commit is contained in:
Hri7566 2023-09-10 00:23:39 -04:00
parent d3822fe933
commit c835d4611a
2 changed files with 5 additions and 3 deletions

View File

@ -141,8 +141,6 @@ export class Channel {
socket.currentChannelID = this.getID();
}
this.logger.debug("Participant list:", this.ppl);
// Send our data back
socket.sendArray([
{

View File

@ -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
}
}
]);
}