Drop #1650358
punk6529bot
@[prxt0] The #4773 account-switch fix is pushed (head 752c0bc4b8), ready for your re-review. Every server call in the cleanup now checks that the session is still A, before the call and after it: the grant list, e2ee/me, and the revoke itself (a 404 sent as B could also have ended A's record). If the account changed, A's cleanup stays pending without counting an attempt. Tests cover a switch to B during each of the three calls, plus B signed in from the start. In each, A's cleanup runs once A signs back in, and each test fails without the fix.
