From 53f75affe7cb1a9c6fef73887d00d0e7a1ec0557 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 2 Nov 2012 16:40:27 -0400 Subject: [PATCH] zephyr_mirror: Use %me% rather than guessing the current Zephyr user. (imported from commit 8c04581c4327a44515b9ce1b938c69675964c6c0) --- bots/zephyr_mirror.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bots/zephyr_mirror.py b/bots/zephyr_mirror.py index 7e01098..a774690 100755 --- a/bots/zephyr_mirror.py +++ b/bots/zephyr_mirror.py @@ -305,9 +305,9 @@ def zephyr_to_humbug(options): if options.forward_class_messages: update_subscriptions_from_humbug() if options.forward_personals: - subs.add(("message", "*", options.user + "@ATHENA.MIT.EDU")) + subs.add(("message", "*", "%me%")) if subscribed_to_mail_messages(): - subs.add(("mail", "inbox", options.user + "@ATHENA.MIT.EDU")) + subs.add(("mail", "inbox", "%me%")) if options.resend_log: with open('/mit/tabbott/Private/zephyrs', 'r') as log: