mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 17:07:07 +00:00
For alert words, we currently don't send email/push notifications -- only desktop notifications. Thus, we don't need to consider alert words here, since desktop notifications do not utilize the presence status calculated at this stage. Tested manually that alert word desktop notifications work as expected. When we implement email/push notifications for alert words (issues #5137 and #13127), we can add new fields like `notifications_data.alert_word_email_notify`, similar to the existing `notifications_data.wildcard_mention_email_notify`, which will allow us to keep the alert word notifiability check inside the dataclass, similar to how the mentions checks are done currently. So, even when that feature is implemented, the code which this commit removes would be unnecessary.
4.5 KiB
4.5 KiB