notifications: Eliminate the stale context variable 'mention_count'.

This commit removes the context variable 'mention_count',
which is not being used anywhere.
This commit is contained in:
Prakhar Pratyush
2023-06-29 20:12:39 +05:30
committed by Tim Abbott
parent e12cd9862a
commit bf673546cb

View File

@@ -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,
)