Fix a bug that prevented the IRSG from being CC'ed, and correct its email

address. Commit ready for merge.
 - Legacy-Id: 10672
This commit is contained in:
Lars Eggert 2016-01-13 12:41:23 +00:00
parent eabe46b3f8
commit 37c5d3170a

View file

@ -110,13 +110,13 @@ class Recipient(models.Model):
addrs = []
if 'doc' in kwargs:
for reldoc in kwargs['doc'].related_that_doc(['conflrev']):
if reldoc.document.stream_id=='irsg':
addrs.append('"Internet Research Steering Group" <irsg@ietf.org>')
if reldoc.document.stream_id=='irtf':
addrs.append('"Internet Research Steering Group" <irsg@irtf.org>')
return addrs
def gather_group_steering_group(self,**kwargs):
addrs = []
sg_map = dict( wg='"The IESG" <iesg@ietf.org>', rg='"Internet Research Steering Group" <irsg@ietf.org>' )
sg_map = dict( wg='"The IESG" <iesg@ietf.org>', rg='"Internet Research Steering Group" <irsg@irtf.org>' )
if 'group' in kwargs and kwargs['group'].type_id in sg_map:
addrs.append(sg_map[kwargs['group'].type_id])
return addrs