compose_reply_label: Show realm_empty_topic_display_name for topic="".

This commit adds support to display `realm_empty_topic_display_name`
value as the compose reply button label for topics having the actual
value of empty string.
This commit is contained in:
Prakhar Pratyush
2025-01-13 15:42:42 +05:30
committed by Tim Abbott
parent 79da2e38c5
commit 25941c1d19
4 changed files with 63 additions and 18 deletions

View File

@@ -245,7 +245,7 @@ test("videos", ({override}) => {
realm_available_video_chat_providers.big_blue_button.id,
);
override(compose_closed_ui, "get_recipient_label", () => "a");
override(compose_closed_ui, "get_recipient_label", () => ({label_text: "a"}));
channel.get = (options) => {
assert.equal(options.url, "/json/calls/bigbluebutton/create");