mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
We change the do_create_user function to use transaction.atomic decorator instead of using with block. Due to this change, all send_event calls are made inside transaction.on_commit. Some other changes - - Remove transaction.atomic decorator from send_inital_realm_messages since it is now called inside a transaction. - Made changes in tests which tests message events and notifications to make sure on_commit callbacks are executed.
77 KiB
77 KiB