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 b052c8980e.
This commit is contained in:
Prakhar Pratyush 2023-06-21 22:02:21 +05:30 committed by Tim Abbott
parent bf673546cb
commit f7e41499fe
1 changed files with 1 additions and 0 deletions

View File

@ -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"]