#1588 Send a presence unsubscribe to all contacts when removing a user
Reporter
Link Mauve
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Type-Enhancement
Status-NeedInfo
Priority-Medium
Link Mauve
on
Description of feature:
When a user gets removed, whether of their own volition or through some admin feature, send a presence unsubscribe and unsubscribed to all of their contacts.
Motivation: (Why?)
This tries to keep other users’ rosters from growing with now-inexistent contacts. Also useful when spammers get caught, to clean their victims’ roster (and hopefully cancel any query they might have sent in bulk).
Description of feature: When a user gets removed, whether of their own volition or through some admin feature, send a presence unsubscribe and unsubscribed to all of their contacts. Motivation: (Why?) This tries to keep other users’ rosters from growing with now-inexistent contacts. Also useful when spammers get caught, to clean their victims’ roster (and hopefully cancel any query they might have sent in bulk).
Is this not what https://hg.prosody.im/trunk/rev/39eb688e106a (in 0.9.0) does? The code has been rearranged some since then, it could have broken. Test case needed.
Changes