From dbeb107aaf246b55f1bd716877e721203448cc76 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Mon, 26 Nov 2012 18:55:37 -0500 Subject: [PATCH] zephyr_mirror: Fix the check for whether a Zephyr is a personal. (imported from commit 609b6339fa82ecbd6435a386d24bf555e75a8120) --- bots/zephyr_mirror_backend.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bots/zephyr_mirror_backend.py b/bots/zephyr_mirror_backend.py index da2370d..4f804f5 100755 --- a/bots/zephyr_mirror_backend.py +++ b/bots/zephyr_mirror_backend.py @@ -239,8 +239,7 @@ def process_notice(notice, log): zephyr_class = notice.cls.lower() - if ((zephyr_class == "message" and notice.recipient != "") or - (zephyr_class == "mail" and notice.instance.lower() == "inbox")): + if notice.recipient != "": is_personal = True # Drop messages not to the listed subscriptions if is_personal and not options.forward_personals: