Changeset - 5acab31448d1
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-09-06 00:06:39
marcin@python-works.com
fixed kwargs ->email_kwargs
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
rhodecode/model/comment.py
Show inline comments
 
@@ -169,13 +169,13 @@ class ChangesetCommentsModel(BaseModel):
 
        mention_recipients = set(self._extract_mentions(body))\
 
                                .difference(recipients)
 
        if mention_recipients:
 
            kwargs.update({'pr_mention': True})
 
            email_kwargs.update({'pr_mention': True})
 
            subj = _('[Mention]') + ' ' + subj
 
            NotificationModel().create(
 
                created_by=user, subject=subj, body=body,
 
                recipients=mention_recipients,
 
                type_=notification_type,
 
                email_kwargs=kwargs
 
                email_kwargs=email_kwargs
 
            )
 

	
 
        return comment
0 comments (0 inline, 0 general)