Add more information to websocket messages

This commit is contained in:
2025-11-21 11:40:51 +01:00
parent 8d2cea5f82
commit 1385afc974
3 changed files with 21 additions and 9 deletions

View File

@@ -11,7 +11,7 @@ pub type BroadcastSender = tokio::sync::broadcast::Sender<BroadcastMessage>;
#[derive(Debug, Clone)]
pub struct BxRoomEvent<E> {
pub user: UserEmail,
pub event: Box<E>,
pub data: Box<E>,
pub room: Room,
}