We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3a6667 + 3de9922 commit 001ecb4Copy full SHA for 001ecb4
1 file changed
ietf/group/utils.py
@@ -56,12 +56,18 @@ def get_group_ads_emails(wg):
56
if wg.acronym == 'none':
57
return []
58
59
- # Make sure the assigned AD is included (in case that is not one of the area ADs
60
- ad_emails = set([wg.ad_role() and wg.ad_role().email.address])
+ ad_emails = set()
+
61
if wg.parent and wg.parent.acronym != 'none':
62
# Include the _current_ list of ads for the area!
63
ad_emails.update(get_area_ads_emails(wg.parent))
64
65
+ # Make sure the assigned AD is included (in case that is not one of the area ADs)
66
+ if wg.state.slug=='active':
67
+ wg_ad_email = wg.ad_role() and wg.ad_role().email.address
68
+ if wg_ad_email:
69
+ ad_emails.add(wg_ad_email)
70
71
return list(ad_emails)
72
73
def get_group_chairs_emails(wg):
0 commit comments