feat: Delete all pushers for a user during deactivation

This commit is contained in:
timedout
2026-04-05 20:42:08 +01:00
parent 5f1b80a47c
commit cdc772ba10
+8
View File
@@ -362,6 +362,14 @@ pub async fn full_user_deactivate(
})
.await;
services
.pusher
.get_pushkeys(user_id)
.for_each(async |pushkey| {
services.pusher.delete_pusher(user_id, pushkey).await;
})
.await;
// TODO: Rescind all user invites
let mut pdu_queue: Vec<(PduBuilder, &OwnedRoomId)> = Vec::new();