mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
This commit is a part of the work to support empty string as a topic name. Previously, empty string was not a valid topic name. Adds `allow_empty_topic_name` boolean parameter to `GET /messages` and `GET /messages/{message_id}` endpoints to decide whether the topic names in the fetched messages can be empty strings. If False, the topic names in the fetched message will have the value of `realm_empty_topic_display_name` field in `POST /register` response replacing "" for channel messages.