From 9d71a786521d4e7136d279f84f1a301cdb4f1131 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 29 2016 14:17:26 +0000 Subject: When editing a comment, specify the project it's on in the fedmsg message --- diff --git a/pagure/lib/__init__.py b/pagure/lib/__init__.py index ff716ed..0ee718d 100644 --- a/pagure/lib/__init__.py +++ b/pagure/lib/__init__.py @@ -872,6 +872,7 @@ def edit_comment(session, parent, comment, user, topic=topic, msg={ key: parent.to_json(public=True, with_comments=False), + 'project': parent.project.to_json(public=True), 'comment': comment.to_json(public=True), 'agent': user_obj.username, },