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.

message_list_view: Remove include_footer parameter.

Tim Abbotte50ab2dad384
diff --git a/static/js/message_list_view.js b/static/js/message_list_view.js
index 48e021a5bfd..d3101d50af2 100644
--- a/static/js/message_list_view.js
+++ b/static/js/message_list_view.js
@@ -436,7 +436,6 @@ export class MessageListView {
current_group,
current_group.message_containers[0],
);
- current_group.message_containers.at(-1).include_footer = true;
new_message_groups.push(current_group);
}
};
@@ -445,7 +444,6 @@ export class MessageListView {
const message_reactions = reactions.get_message_reactions(message_container.msg);
message_container.msg.message_reactions = message_reactions;
message_container.include_recipient = false;
- message_container.include_footer = false;
if (
same_recipient(prev, message_container) &&
diff --git a/static/templates/single_message.hbs b/static/templates/single_message.hbs
index 2b75f850219..5ec3d917136 100644
--- a/static/templates/single_message.hbs
+++ b/static/templates/single_message.hbs
@@ -1,5 +1,5 @@
<div zid="{{msg/id}}" id="{{table_name}}{{msg/id}}"
- class="message_row{{^msg/is_stream}} private-message{{/msg/is_stream}}{{#include_sender}} include-sender{{/include_sender}}{{#if mention_classname}} {{mention_classname}}{{/if}}{{#include_footer}} last_message{{/include_footer}}{{#msg.unread}} unread{{/msg.unread}} {{#if msg.locally_echoed}}local{{/if}} selectable_row"
+ class="message_row{{^msg/is_stream}} private-message{{/msg/is_stream}}{{#include_sender}} include-sender{{/include_sender}}{{#if mention_classname}} {{mention_classname}}{{/if}}{{#msg.unread}} unread{{/msg.unread}} {{#if msg.locally_echoed}}local{{/if}} selectable_row"
role="listitem">
<div class="unread_marker"><div class="unread-marker-fill"></div></div>
{{#if want_date_divider}}