#634 Order of account deletion/denial should not matter
In prosody-0.10, given a scenario where email@example.com receives an authorization request from firstname.lastname@example.org, it matters which of these actions happens first:
(1) email@example.com denies the authorization request from firstname.lastname@example.org.
(2) email@example.com'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 firstname.lastname@example.org logs in the next time.
Thus, this issue creates a scenario where it looks like email@example.com will constantly try to re-request firstname.lastname@example.org's authorization, which obviously leads to frustration.
Could you make the order not matter?