diff options
author | Marcin Kuzminski <marcin@python-works.com> | 2012-06-10 02:08:10 +0200 |
---|---|---|
committer | Marcin Kuzminski <marcin@python-works.com> | 2012-06-10 02:08:10 +0200 |
commit | 5ca7fdba3826a71ba4dd9756f4ea01e542356ac2 (patch) | |
tree | 1e99f21b80d5ddddcbdb542c8fcd1efb0cd41687 /rhodecode/model/comment.py | |
parent | 04ab0e893c43e5bad654f2993580ae7da7166e4e (diff) |
Added basic models for saving open pull requests
- added pull-request models
- added pull-requests notifications into inbox
--HG--
branch : codereview
Diffstat (limited to 'rhodecode/model/comment.py')
-rw-r--r-- | rhodecode/model/comment.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rhodecode/model/comment.py b/rhodecode/model/comment.py index b22b23ab..bd59e3f1 100644 --- a/rhodecode/model/comment.py +++ b/rhodecode/model/comment.py @@ -118,7 +118,8 @@ class ChangesetCommentsModel(BaseModel): 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 |