Only people watching issues should be CC'd
This commit is contained in:
parent
fd4a522b53
commit
09af2c0457
1 changed files with 2 additions and 2 deletions
|
@ -449,8 +449,8 @@ def pagure_project_to_acl_schema(pagure_project, product):
|
|||
|
||||
user_cc_list = []
|
||||
for user, watch_levels in watchers_rv_json['watchers'].items():
|
||||
# Only people watching commits should be CC'd
|
||||
if 'commit' in watch_levels:
|
||||
# Only people watching issues should be CC'd
|
||||
if 'issues' in watch_levels:
|
||||
user_cc_list.append(user)
|
||||
|
||||
summary = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue