Priority: Low
Estimated Time: 30 minutes
Description:
When the second player deposits and the match transitions from Pending to Active, no match_activated event is emitted. Frontends cannot detect when a match is ready to start without polling get_match.
Tasks:
- Emit a
("match", "activated") event inside deposit when m.state transitions to Active
- Include
match_id in event data
- Add test asserting the event is emitted only on the second deposit
Priority: Low
Estimated Time: 30 minutes
Description:
When the second player deposits and the match transitions from
PendingtoActive, nomatch_activatedevent is emitted. Frontends cannot detect when a match is ready to start without pollingget_match.Tasks:
("match", "activated")event insidedepositwhenm.statetransitions toActivematch_idin event data