Show More
@@ -169,13 +169,13 b' class ChangesetCommentsModel(BaseModel):' | |||||
169 | mention_recipients = set(self._extract_mentions(body))\ |
|
169 | mention_recipients = set(self._extract_mentions(body))\ | |
170 | .difference(recipients) |
|
170 | .difference(recipients) | |
171 | if mention_recipients: |
|
171 | if mention_recipients: | |
172 | kwargs.update({'pr_mention': True}) |
|
172 | email_kwargs.update({'pr_mention': True}) | |
173 | subj = _('[Mention]') + ' ' + subj |
|
173 | subj = _('[Mention]') + ' ' + subj | |
174 | NotificationModel().create( |
|
174 | NotificationModel().create( | |
175 | created_by=user, subject=subj, body=body, |
|
175 | created_by=user, subject=subj, body=body, | |
176 | recipients=mention_recipients, |
|
176 | recipients=mention_recipients, | |
177 | type_=notification_type, |
|
177 | type_=notification_type, | |
178 | email_kwargs=kwargs |
|
178 | email_kwargs=email_kwargs | |
179 | ) |
|
179 | ) | |
180 |
|
180 | |||
181 | return comment |
|
181 | return comment |
General Comments 0
You need to be logged in to leave comments.
Login now