##// END OF EJS Templates
fix: do not render email if we arent sending email with notification
andverb -
r5542:d9b3c623 default
parent child Browse files
Show More
@@ -117,6 +117,8 b' class NotificationModel(BaseModel):'
117 117 # add mentioned users into recipients
118 118 final_recipients = set(recipients_objs).union(mention_recipients)
119 119
120 # No need to render email if we are sending just notification
121 if with_email:
120 122 (subject, email_body, email_body_plaintext) = \
121 123 EmailNotificationModel().render_email(notification_type, **email_kwargs)
122 124
General Comments 0
You need to be logged in to leave comments. Login now