Mercurial > kallithea
diff rhodecode/model/comment.py @ 2387:7d517a35b6c9 beta
Don't send emails to person who comment on changeset
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 04 Jun 2012 22:03:40 +0200 |
parents | b61e540122f2 |
children | 91fae60bf2b6 |
line wrap: on
line diff
--- a/rhodecode/model/comment.py Mon Jun 04 21:37:41 2012 +0200 +++ b/rhodecode/model/comment.py Mon Jun 04 22:03:40 2012 +0200 @@ -102,6 +102,7 @@ # add changeset author if it's in rhodecode system recipients += [User.get_by_email(author_email)] + # create notification objects, and emails NotificationModel().create( created_by=user_id, subject=subj, body=body, recipients=recipients, type_=Notification.TYPE_CHANGESET_COMMENT