mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +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.