fix: Restore admin room announcement for deactivations
This commit is contained in:
parent
53184cd2fc
commit
fd9bbb08ed
1 changed files with 9 additions and 0 deletions
|
|
@ -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,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue