From 4b55b4d286962b905d1e15a8a8c1ccef870d9181 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Sep 23 2014 13:47:01 +0000 Subject: Notify followers when adding a comment to an issue --- diff --git a/progit/lib.py b/progit/lib.py index b372abc..218fd4a 100644 --- a/progit/lib.py +++ b/progit/lib.py @@ -26,6 +26,7 @@ from sqlalchemy.exc import SQLAlchemyError import pygit2 import progit.exceptions +import progit.notify from progit import model @@ -146,6 +147,8 @@ def add_issue_comment(session, issue, comment, user, ticketfolder): update_git_ticket(issue, repo=issue.project, ticketfolder=ticketfolder) + progit.notify.notify_new_comment(issue_comment) + return 'Comment added'