mirror of https://github.com/zulip/zulip.git
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:
parent
bf673546cb
commit
f7e41499fe
|
@ -526,6 +526,7 @@ def do_send_missedmessage_events_reply_in_zulip(
|
||||||
for m in missed_messages
|
for m in missed_messages
|
||||||
if m["trigger"] == NotificationTriggers.MENTION
|
if m["trigger"] == NotificationTriggers.MENTION
|
||||||
or m["trigger"] == NotificationTriggers.WILDCARD_MENTION
|
or m["trigger"] == NotificationTriggers.WILDCARD_MENTION
|
||||||
|
or m["trigger"] == NotificationTriggers.FOLLOWED_TOPIC_WILDCARD_MENTION
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
message = missed_messages[0]["message"]
|
message = missed_messages[0]["message"]
|
||||||
|
|
Loading…
Reference in New Issue