dashboard works

This commit is contained in:
NoLogicAlan committed 2026-05-08 02:26:19 +03:00
1 parent 624d00cff6
commit 8a55431eec
5 files changed
+118 -451

No files matched your search

+6
View File
@@ -189,6 +189,12 @@ export class PlayerManager {
// Send per-player channel "join"/"leave" event with just the user ID
// (matching Stoat format where data = userId string)
emit(eventType, member.user.id);
// Send per-user channel update so the backend UserManager can track
// connectedTo for each dashboard user independently (not just globally)
this.dashboard.updateUser({
type: eventType,
channelId,
}, member.user);
// Also send global user update
this.dashboard.userUpdate({
type: eventType,