From 1ffaa3bb289a9a4132481c9ed3a20ba98ed5deb6 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 16 Oct 2012 20:56:29 -0400 Subject: [PATCH] Fix stupid bug mirroring personals to zephyr. (imported from commit 42508db8b06cb16e8156ef2da9db5df8a706a029) --- zephyr_mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zephyr_mirror.py b/zephyr_mirror.py index 8d5e19c..cde052d 100755 --- a/zephyr_mirror.py +++ b/zephyr_mirror.py @@ -333,7 +333,7 @@ def forward_to_zephyr(message): zeph.send() elif message['type'] == "personal": 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, auth=True, recipient=recipient, cls="message", instance="personal")