diff --git a/djangoldp_notification/models.py b/djangoldp_notification/models.py index a782aadd8f75e5ea588f0fbe8c10ea212b69fcfc..dc1829f8ebc6679fb17761f76c57cad6c74e57b3 100644 --- a/djangoldp_notification/models.py +++ b/djangoldp_notification/models.py @@ -228,7 +228,7 @@ def send_email_on_notification(sender, instance, created, **kwargs): and instance.summary \ and getattr(settings,'JABBER_DEFAULT_HOST',False) \ and instance.user.email \ - and instance.emailNotificationTemplate == 'default': + and instance.type in ('Message', 'Mention'): # get author name, and store in who try: # local author