zephyr_mirror: Fix the check for whether a Zephyr is a personal.
(imported from commit 609b6339fa82ecbd6435a386d24bf555e75a8120)
This commit is contained in:
parent
b081d2fa5a
commit
dbeb107aaf
|
@ -239,8 +239,7 @@ def process_notice(notice, log):
|
||||||
|
|
||||||
zephyr_class = notice.cls.lower()
|
zephyr_class = notice.cls.lower()
|
||||||
|
|
||||||
if ((zephyr_class == "message" and notice.recipient != "") or
|
if notice.recipient != "":
|
||||||
(zephyr_class == "mail" and notice.instance.lower() == "inbox")):
|
|
||||||
is_personal = True
|
is_personal = True
|
||||||
# Drop messages not to the listed subscriptions
|
# Drop messages not to the listed subscriptions
|
||||||
if is_personal and not options.forward_personals:
|
if is_personal and not options.forward_personals:
|
||||||
|
|
Loading…
Reference in a new issue