mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
If this is called on a user without is_mirror_dummy=True, that seems certain to be a bug. Therefore, an assert is preferable in order to catch this, rather than returning early with noop like some other function such as do_deactivate_user.