feat(tournaments): broadcast tournament type to all observers

This commit is contained in:
2025-12-31 16:42:02 -05:00
Unverified
parent fff0343559
commit cb9ef527a7

View File

@@ -545,6 +545,8 @@ impl Server {
*tournament_guard = Some(Arc::new(RwLock::new(tourney))); *tournament_guard = Some(Arc::new(RwLock::new(tourney)));
let _ = crate::send(&tx, "TOURNAMENT:START:ACK"); let _ = crate::send(&tx, "TOURNAMENT:START:ACK");
self.broadcast_message_all_observers(&format!("TOURNAMENT:START:{}", tournament_type)).await;
Ok(()) Ok(())
} }