From 8383b11526d4aa3a6422c5641cb2638a8a10d37b Mon Sep 17 00:00:00 2001 From: Prakhar Pratyush Date: Wed, 26 Mar 2025 15:13:16 +0530 Subject: [PATCH] recipient_row: Fix empty string topic display in keyword search view. Searching for a word that appears in a message in a empty string topic via the search box resulted in a message view where the topic names in the recipient_row were empty string instead of `realm_empty_topic_display_name`. This commit fixes that bug. --- web/templates/recipient_row.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/recipient_row.hbs b/web/templates/recipient_row.hbs index 57e112ab5a..56955f27d3 100644 --- a/web/templates/recipient_row.hbs +++ b/web/templates/recipient_row.hbs @@ -28,7 +28,7 @@ - {{#if use_match_properties}} + {{#if (and use_match_properties (not is_empty_string_topic))}} {{{match_topic}}} {{else}} {{topic_display_name}}