Mercurial > kallithea
diff rhodecode/model/comment.py @ 2434:f29469677319 codereview
Added basic models for saving open pull requests
- added pull-request models
- added pull-requests notifications into inbox
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 10 Jun 2012 02:08:10 +0200 |
parents | 91fae60bf2b6 |
children | ad19dfcdb1cc |
line wrap: on
line diff
--- a/rhodecode/model/comment.py Sun Jun 10 00:08:29 2012 +0200 +++ b/rhodecode/model/comment.py Sun Jun 10 02:08:10 2012 +0200 @@ -118,7 +118,8 @@ NotificationModel().create( created_by=user_id, subject=subj, body=body, recipients=mention_recipients, - type_=Notification.TYPE_CHANGESET_COMMENT + type_=Notification.TYPE_CHANGESET_COMMENT, + email_kwargs={'status_change': status_change} ) return comment