mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +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.
		
			
				
	
	
	
		
			46 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			46 KiB