mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
Earlier, we were using 'send_event' in 'do_delete_draft' which can lead to a situation, if any db operation is added after the 'send_event' in future, where we enqueue events but the action function fails at a later stage. Events should not be sent until we know we're not rolling back. Fixes part of #30489.
6.4 KiB
6.4 KiB