Role Update: Consume Newly Created Moderation State Event
Overview & Context
The role_updated handler updates only the participant's role - it never refreshes moderationSlice. Moderation state is set exactly once on joinSuccess, so a newly promoted moderator keeps the defaults from join (waiting room disabled, raise hands enabled, guest access enabled). Needs to consume the moderation snapshot the server will send on promotion.
Technical Design & Interfaces
- New incoming message carrying the current
ModerationStatefor the promoted user (waiting room, guest access, raise hands enabled, waiting-room/banned lists).
Implementation Tasks
- Add incoming type for moderation event
- Update moderation state when promoted to moderator
- Unit tests for the handler
Definition of Done
- Add unit tests
- Manual verification (Chrome/Firefox)