mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
dashboard works
This commit is contained in:
1 parent
624d00cff6
commit
8a55431eec
5 files changed
+118
-451
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user