Description of feature:
When self-deleting an account via IBR, instead of instant remove it should disable the account and clean up the data after a configurable period of time (e.g. 3 days).
This feature would likely belong in mod_user_account_management.
Motivation: (Why?)
It is not uncommon for people to accidentally delete their accounts from within clients. This can be a combination of people not understanding what they are doing, not reading warning messages, lack of proper confirmation in the client, or even bugs causing clients to send XEP-0077 deletion requests erroneously.
Description of feature: When self-deleting an account via IBR, instead of instant remove it should disable the account and clean up the data after a configurable period of time (e.g. 3 days). This feature would likely belong in mod_user_account_management. Motivation: (Why?) It is not uncommon for people to accidentally delete their accounts from within clients. This can be a combination of people not understanding what they are doing, not reading warning messages, lack of proper confirmation in the client, or even bugs causing clients to send XEP-0077 deletion requests erroneously.
Mentioned in #1804 (duplicate)
Disabling accounts is now implemented, here are some related commits: https://hg.prosody.im/trunk/rev/13950bf92802 https://hg.prosody.im/trunk/rev/8473a516004f https://hg.prosody.im/trunk/rev/5c90862e39aa Remaining work includes updating mod_user_account_management to (optionally?) disable instead of delete accounts when clients invoke the <remove> option https://xmpp.org/extensions/xep-0077.html#usecases-cancel
Changes