Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
recent topics: Fix exception displaying PMs with 5+ senders.
Tim Abbott29c6b4b9f2f3
diff --git a/static/js/recent_topics_ui.js b/static/js/recent_topics_ui.jsindex e2d71305b2c..5173097e027 100644--- a/static/js/recent_topics_ui.js+++ b/static/js/recent_topics_ui.js@@ -445,9 +445,7 @@ function format_conversation(conversation_data) {senders = all_senders.slice(-MAX_AVATAR);// Collect extra senders fullname for tooltip.extra_sender_ids = all_senders.slice(0, -MAX_AVATAR);- displayed_other_senders = extra_sender_ids- .slice(-MAX_EXTRA_SENDERS)- .map((sender) => sender.id);+ displayed_other_senders = extra_sender_ids.slice(-MAX_EXTRA_SENDERS);}context.senders = people.sender_info_for_recent_topics_row(senders);