diff --git a/zulipterminal/ui_tools/boxes.py b/zulipterminal/ui_tools/boxes.py index 47701ad8ef..17fb80608e 100644 --- a/zulipterminal/ui_tools/boxes.py +++ b/zulipterminal/ui_tools/boxes.py @@ -17,7 +17,8 @@ STREAM_TOPIC_SEPARATOR, ) from zulipterminal.helper import ( - Message, format_string, match_emoji, match_group, match_stream, match_user, + Message, compare_lowercase, format_string, match_emoji, match_group, + match_stream, match_user, ) from zulipterminal.ui_tools.tables import render_table from zulipterminal.urwid_types import urwid_Size @@ -315,7 +316,7 @@ def need_recipient_header(self) -> bool: if self.message['type'] == 'stream': return not ( last_msg['type'] == 'stream' - and self.topic_name == last_msg['subject'] + and compare_lowercase(self.topic_name, last_msg['subject']) and self.stream_name == last_msg['display_recipient'] ) elif self.message['type'] == 'private':