From f7e41499fe54541e50afa297e3c4a9df24652a31 Mon Sep 17 00:00:00 2001 From: Prakhar Pratyush Date: Wed, 21 Jun 2023 22:02:21 +0530 Subject: [PATCH] notifications: Fix the 'senders' list. This commit fixes the incorrect calculation of the 'senders' list. The effect of 'followed_topic_wildcard_mention' wasn't considered earlier. The bug was introduced in b052c8980ecc7bdb2a58ed08c8971079c28177b8. --- zerver/lib/email_notifications.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zerver/lib/email_notifications.py b/zerver/lib/email_notifications.py index d206d45fb1..af6447c238 100644 --- a/zerver/lib/email_notifications.py +++ b/zerver/lib/email_notifications.py @@ -526,6 +526,7 @@ def do_send_missedmessage_events_reply_in_zulip( for m in missed_messages if m["trigger"] == NotificationTriggers.MENTION or m["trigger"] == NotificationTriggers.WILDCARD_MENTION + or m["trigger"] == NotificationTriggers.FOLLOWED_TOPIC_WILDCARD_MENTION } ) message = missed_messages[0]["message"]