mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +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.