Fix battle chats properly (without involving the database)

This commit is contained in:
NG (Graham) committed 2025-08-16 21:54:36 -04:00
1 parent 05bf4a097a
commit f63185c2cd
4 files changed
+10 -125

No files matched your search

-3
View File
@@ -211,9 +211,6 @@ pub trait ChatUser {
//async fn has_pending_sanctions(&self) -> Result<bool, i16>;
async fn get_sanctions(&self, username: String) -> Result<polariton::operation::Typed<()>, i16>;
async fn set_sanction(&self, sanction: SetSanction) -> Result<(), i16>;
// multiplayer-related
async fn get_teammates(&self) -> Result<Vec<String>, polariton_server::operations::SimpleOpError>;
async fn get_gamemates(&self) -> Result<Vec<String>, polariton_server::operations::SimpleOpError>;
}
pub struct SetSanction {