mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
The original logic is buggy now that emails can belong to (and be invited to) multiple realms. The new logic in the `invites` queue worker also avoids the bug where when the PreregistrationUser was gone by the time the queue worker got to the invite (e.g., because it'd been revoked), we threw an exception. [greg: fix upgrade-compatibility logic; add test; explain revoked-invite race above]
21 KiB
21 KiB