chain_width to 50

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-04-22 04:42:26 +00:00
parent 9b658d86b2
commit 76509830e6
190 changed files with 3469 additions and 930 deletions

View File

@@ -41,9 +41,13 @@ impl crate::Service for Service {
return Ok(());
}
self.set_emergency_access().await.inspect_err(|e| {
error!("Could not set the configured emergency password for the server user: {e}");
})
self.set_emergency_access()
.await
.inspect_err(|e| {
error!(
"Could not set the configured emergency password for the server user: {e}"
);
})
}
fn name(&self) -> &str { crate::service::make_name(std::module_path!()) }
@@ -69,7 +73,9 @@ impl Service {
.update(
None,
server_user,
GlobalAccountDataEventType::PushRules.to_string().into(),
GlobalAccountDataEventType::PushRules
.to_string()
.into(),
&serde_json::to_value(&GlobalAccountDataEvent {
content: PushRulesEventContent { global: ruleset },
})
@@ -86,7 +92,10 @@ impl Service {
Ok(())
} else {
// logs out any users still in the server service account and removes sessions
self.services.users.deactivate_account(server_user).await
self.services
.users
.deactivate_account(server_user)
.await
}
}
}