Skip to content
Snippets Groups Projects
Commit 5a2c259e authored by Branson Craig Stephens's avatar Branson Craig Stephens
Browse files

Updated comment on filtering out MDC events from email alerts.

parent 7167f086
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,9 @@ def issueAlertForLabel(event, label, doxmpp, serialized_event=None): ...@@ -77,7 +77,9 @@ def issueAlertForLabel(event, label, doxmpp, serialized_event=None):
def issueEmailAlert(event, event_url): def issueEmailAlert(event, event_url):
# XXX FIXME # The right way of doing this is to make the email alerts filter-able
# by search. But this is a low priority dev task. For now, we simply
# short-circuit in case this is an MDC event.
if event.search and event.search.name == 'MDC': if event.search and event.search.name == 'MDC':
return return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment