Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

messages_lists: Show recipient header in conversation view with "near".

whilstsomebody05885cd005cd
diff --git a/web/src/message_lists.ts b/web/src/message_lists.ts
index 60db5f06468..9119268048d 100644
--- a/web/src/message_lists.ts
+++ b/web/src/message_lists.ts
@@ -57,7 +57,10 @@ export function update_current_message_list(msg_list: MessageList | undefined):
current.view.$list.addClass("focused-message-list");
}
- if (current?.data.filter.is_conversation_view()) {
+ if (
+ current?.data.filter.is_conversation_view() ||
+ current?.data.filter.is_conversation_view_with_near()
+ ) {
$(".focused-message-list").addClass("is-conversation-view");
} else {
$(".focused-message-list").removeClass("is-conversation-view");