#634 Order of account deletion/denial should not matter
In prosody-0.10, given a scenario where firstname.lastname@example.org receives an authorization request from email@example.com, it matters which of these actions happens first:
(1) firstname.lastname@example.org denies the authorization request from email@example.com.
(2) firstname.lastname@example.org's account is deleted from the server.
If the order is (1, 2), then everything works fine.
If the order is (2, 1), then (1) will silently fail in most clients that I've tested (Pidgin, poezio, KTp) and the pending request will re-appear once email@example.com logs in the next time.
Thus, this issue creates a scenario where it looks like firstname.lastname@example.org will constantly try to re-request email@example.com's authorization, which obviously leads to frustration.
Could you make the order not matter?