Files
zulip/zerver/lib/soft_deactivation.py
Prakhar Pratyush 4bef1a510c handle_missedmessage_emails: Update codepath to queue event on commit.
Earlier, in 'handle_missedmessage_emails' codepath we were using
'queue_json_publish' which can lead to a situation where we enqueue
events but the transaction fails at a later stage.

Events should not be published until we know we're not rolling back.
2024-12-04 12:14:23 -08:00

18 KiB