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.

notifications: Eliminate the stale context variable 'mention_count'.

Prakhar Pratyushbf673546cb60
diff --git a/zerver/lib/email_notifications.py b/zerver/lib/email_notifications.py
index 659ca446f82..d206d45fb15 100644
--- a/zerver/lib/email_notifications.py
+++ b/zerver/lib/email_notifications.py
@@ -463,7 +463,6 @@ def do_send_missedmessage_events_reply_in_zulip(
stream_email_notify="stream_email_notify" in unique_triggers,
followed_topic_email_notify="followed_topic_email_notify" in unique_triggers,
followed_topic_wildcard_mentioned="followed_topic_wildcard_mentioned" in unique_triggers,
- mention_count=triggers.count("mentioned") + triggers.count("wildcard_mentioned"),
mentioned_user_group_name=mentioned_user_group_name,
)