mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
As a preparatory step to refactoring json_success to accept request as a parameter, change interface of helper functions: `handle_deferred_message` in `views.message_send.py` and `mute_topic` and `unmute_topic` in `views.muting.py`, so that they return None or data for json_success. Instead call json_sucess in the caller function, which already has the HttpRequest as a parameter.