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