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.

recent_view_ui: Remove redundant calculation.

Aman Agrawalf22f8379517f
diff --git a/web/src/recent_view_ui.ts b/web/src/recent_view_ui.ts
index c911155008c..983047f9fdc 100644
--- a/web/src/recent_view_ui.ts
+++ b/web/src/recent_view_ui.ts
@@ -711,7 +711,6 @@ function format_conversation(conversation_data: ConversationData): ConversationC
};
}
- extra_sender_ids = all_senders.slice(0, -max_avatars);
const displayed_other_names = people.get_display_full_names(displayed_other_senders.reverse());
if (extra_sender_ids.length > MAX_EXTRA_SENDERS) {