mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
edit_history: Add support for empty topic name.
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/{message_id}/history` endpoint to decide whether
the topic names in the fetched messages can be empty strings.
If False, the topic names in the fetched response will have the
value of `realm_empty_topic_display_name` field in `POST /register`
response replacing "" for channel messages.
This commit is contained in:
committed by
Tim Abbott
parent
01f749c0b8
commit
293db85f67
@@ -49,6 +49,10 @@ format used by the Zulip server that they are interacting with.
|
||||
boolean parameter to decide whether the topic names in the fetched messages
|
||||
can be empty strings.
|
||||
|
||||
* [`GET /messages/{message_id}/history`](/api/get-message-history):
|
||||
Added `allow_empty_topic_name` boolean parameter to decide whether the
|
||||
topic names in the fetched message history objects can be empty strings.
|
||||
|
||||
**Feature level 333**
|
||||
|
||||
* [Message formatting](/api/message-formatting): System groups can now
|
||||
|
||||
Reference in New Issue
Block a user