fix: Restore admin room announcement for deactivations

This commit is contained in:
timedout authored and Ellis Git committed 2026-01-30 05:11:30 +00:00
1 parent 53184cd2fc
commit fd9bbb08ed
1 file changed
+9
+9
View File
@@ -820,6 +820,15 @@ pub(crate) async fn deactivate_route(
.boxed()
.await?;
info!("User {sender_user} deactivated their account.");
if services.server.config.admin_room_notices {
services
.admin
.notice(&format!("User {sender_user} deactivated their account."))
.await;
}
Ok(deactivate::v3::Response {
id_server_unbind_result: ThirdPartyIdRemovalStatus::NoSupport,
})