| |
@@ -4957,6 +4957,10 @@
|
| |
# Add the user of the project
|
| |
users.add(obj.project.user.username)
|
| |
|
| |
+ # Add the assignee if there is one
|
| |
+ if obj.assignee:
|
| |
+ users.add(obj.assignee.username)
|
| |
+
|
| |
# Add the regular contributors
|
| |
for contributor in obj.project.users:
|
| |
users.add(contributor.username)
|
| |
We always include the assignee in the notifications (even on private
tickets), but so far we did not show them in the list of subscriber.
With this commit, this oversight is now fixed.
Fixes https://pagure.io/pagure/issue/4957
Signed-off-by: Pierre-Yves Chibon pingou@pingoured.fr