fix: Restore admin room announcement for deactivations

This commit is contained in:
timedout 2026-01-27 03:39:28 +00:00 committed by Ellis Git
parent 53184cd2fc
commit fd9bbb08ed

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,
})