Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_list_view: Drop now-unused subscription_markers parameter.
Pratik Chanda879836886377
diff --git a/web/src/message_list_view.ts b/web/src/message_list_view.tsindex 85f0d40bd82..ceeab6978eb 100644--- a/web/src/message_list_view.ts+++ b/web/src/message_list_view.ts@@ -401,7 +401,6 @@ export function populate_group_from_message(message: Message,date_unchanged: boolean,year_changed: boolean,- subscription_markers: SubscriptionMarkers | undefined,): MessageGroup {const is_stream = message.is_stream;const is_private = message.is_private;@@ -426,7 +425,6 @@ export function populate_group_from_message(is_stream,...get_topic_edit_properties(message),user_can_resolve_topic: stream_data.can_resolve_topics(sub),- ...subscription_markers,date_html,display_recipient,date_unchanged,@@ -977,10 +975,6 @@ export class MessageListView {message_for_next_group,same_day(message_for_next_group, prev_message),!same_year(message_for_next_group, prev_message),- // Subscription-status bookends are filled in afterward by- // set_subscription_dividers_and_markers, which also needs the- // boundary against already-rendered messages.- undefined,);};@@ -1846,7 +1840,6 @@ export class MessageListView {group.message_containers[0]!.msg,group.date_unchanged,group.message_containers[0]!.year_changed,- undefined,),// We don't want `populate_group_from_message` to generate a// new id. We also preserve the message containers, since thisdiff --git a/web/src/message_report.ts b/web/src/message_report.tsindex f68e71e5511..54fb4656ccc 100644--- a/web/src/message_report.ts+++ b/web/src/message_report.ts@@ -58,7 +58,7 @@ function register_message_preview_click_handlers(function get_message_group_for_message_preview(message: Message): MessageGroup {// This creates a simpler recipient_row without element like the// topic menu and topic visibility policy menu.- const message_group = populate_group_from_message(message, false, false, undefined);+ const message_group = populate_group_from_message(message, false, false);if (message_group.is_stream) {message_group.user_can_resolve_topic = false;message_group.is_topic_editable = false;