change default notify address for IRTF stream documents. Fixes bug #1489. Commit ready for merge.

- Legacy-Id: 8506
This commit is contained in:
Robert Sparks 2014-10-27 22:23:09 +00:00
parent 0496ee1b73
commit 31da337eb2

View file

@ -235,9 +235,9 @@ def change_stream(request, name):
if new_stream != old_stream:
if new_stream and new_stream.slug and new_stream.slug == "irtf":
if not doc.notify:
doc.notify = "irtf@irtf.org"
elif "irtf@irtf.org" not in doc.notify:
doc.notify += ", irtf@irtf.org"
doc.notify = "irsg@irtf.org"
elif "irsg@irtf.org" not in doc.notify:
doc.notify += ", irsg@irtf.org"
save_document_in_history(doc)