Fix stupid bug mirroring personals to zephyr.
(imported from commit 42508db8b06cb16e8156ef2da9db5df8a706a029)
This commit is contained in:
parent
f4953e4e5b
commit
1ffaa3bb28
|
@ -333,7 +333,7 @@ def forward_to_zephyr(message):
|
||||||
zeph.send()
|
zeph.send()
|
||||||
elif message['type'] == "personal":
|
elif message['type'] == "personal":
|
||||||
recipient = message["display_recipient"]["email"]
|
recipient = message["display_recipient"]["email"]
|
||||||
recipient.replace("mit.edu", "ATHENA.MIT.EDU")
|
recipient = recipient.replace("@mit.edu", "@ATHENA.MIT.EDU")
|
||||||
zeph = zephyr.ZNotice(sender=sender_email,
|
zeph = zephyr.ZNotice(sender=sender_email,
|
||||||
auth=True, recipient=recipient,
|
auth=True, recipient=recipient,
|
||||||
cls="message", instance="personal")
|
cls="message", instance="personal")
|
||||||
|
|
Loading…
Reference in a new issue