Skip to content

Commit dcb213a

Browse files
committed
messages: Turn off recipient header for dummy messages.
1 parent f8503f8 commit dcb213a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

zulipterminal/ui_tools/messages.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ def __init__(self, message: Message, model: "Model", last_message: Any) -> None:
115115
super().__init__(self.main_view())
116116

117117
def need_recipient_header(self) -> bool:
118+
if self.model.controller.is_in_empty_narrow:
119+
return False
118120
# Prevent redundant information in recipient bar
119121
if len(self.model.narrow) == 1 and self.model.narrow[0][0] == "pm-with":
120122
return False

0 commit comments

Comments
 (0)