Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fixes OOIION-590 (Fixes UNS regarding emails being sent to events not subscribed to) #447
The UNS utility method designed to figure out interested users was not properly handling the case of events coming from the same origin and whose event subtypes and origin_type fields were empty.
This pull request patches the method so that it properly handles all cases.
It has been verified that only emails for the event subscribed to is being sent now.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Two comments on style (not related to content):
1: use comma syntax on log statements, not % interpolation
For instance, you have several log statements like this:
Instead, use this form:
The goal being that if the
(also what is up with the