mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 23:19:10 +00:00
We should reuse the `channel.xhr_error_message` in `ui_report` to reduce code duplication. Also, I changed the type of `message` parameter to `string` instead of `string | null` so that we do not need to alter the types of the functions that depends on the return value of `xhr_error_message`.
11 KiB
11 KiB