mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
feat: Delete all pushers for a user during deactivation
This commit is contained in:
@@ -362,6 +362,14 @@ pub async fn full_user_deactivate(
|
|||||||
})
|
})
|
||||||
.await;
|
.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
|
// TODO: Rescind all user invites
|
||||||
|
|
||||||
let mut pdu_queue: Vec<(PduBuilder, &OwnedRoomId)> = Vec::new();
|
let mut pdu_queue: Vec<(PduBuilder, &OwnedRoomId)> = Vec::new();
|
||||||
|
|||||||
Reference in New Issue
Block a user