Remove external state for op handlers

This commit is contained in:
NGnius (Graham) committed 2025-04-06 11:00:37 -04:00
1 parent b99bbe67e4
commit 4d2ddaeafb
19 files changed
+150 -163

No files matched your search

+6 -6
View File
@@ -7,10 +7,10 @@ use polariton_server::operations::OperationsHandler;
pub fn handler() -> OperationsHandler<crate::UserTy> {
OperationsHandler::new()
.without_state(more_auth::MoreLobbyAuth)
.without_state(chat_ignores::ignores_provider())
.without_state(pending_sanctions::pending_sanctions_checker())
.without_state(all_joined_channels::all_channels_provider())
.without_state(polariton_server::operations::Ack::<12, _>::default())
//.without_state(polariton_server::operations::Ack::<00000, _>::default())
.add(more_auth::MoreLobbyAuth)
.add(chat_ignores::ignores_provider())
.add(pending_sanctions::pending_sanctions_checker())
.add(all_joined_channels::all_channels_provider())
.add(polariton_server::operations::Ack::<12, _>::default())
//.add(polariton_server::operations::Ack::<00000, _>::default())
}