1
0
mirror of https://git.ngram.ca/OpenJam/rc-servers synced 2026-08-23 23:08:52 +00:00

Add chat command to clear CRF id in database; close #124

This commit is contained in:
NG (Graham)
2026-06-20 19:27:53 -04:00
parent 777ba327cc
commit f58bfa06d2
5 changed files with 68 additions and 0 deletions

View File

@@ -240,6 +240,7 @@ pub trait ChatUser: CommonUser + IntercomUser {
async fn set_sanction(&self, sanction: SetSanction) -> Result<(), i16>;
async fn get_total_registered_users(&self) -> Result<u64, polariton_server::operations::SimpleOpError>;
async fn set_permission(&self, username: String, permission: UserRole, value: bool) -> Result<(), polariton_server::operations::SimpleOpError>;
async fn clear_factory_flag(&self) -> Result<bool, polariton_server::operations::SimpleOpError>;
}
pub struct SetSanction {