Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
notification: Use display_recipient to get other_recipient length.
Aman Agrawal192306f9eec1
diff --git a/web/src/message_notifications.js b/web/src/message_notifications.jsindex 368035fe99f..c143327c75d 100644--- a/web/src/message_notifications.js+++ b/web/src/message_notifications.js@@ -104,8 +104,7 @@ function get_notification_title(message, content, msg_count) {if (content.length + title.length + other_recipients.length > 230) {// Then count how many people are in the conversation and summarize// by saying the conversation is with "you and [number] other people"- other_recipients =- other_recipients.replaceAll(/[^,]/g, "").length + " other people";+ other_recipients = message.display_recipient.length - 2 + " other people";}title += " (to you and " + other_recipients + ")";