mirror of https://github.com/zulip/zulip.git
zephyr_mirror: Clean up unnecessary logic in process_notice.
(imported from commit 28599789016fd1006c2de4d5ddc3cf1f10baa47f)
This commit is contained in:
parent
4b6f771be1
commit
cdabd2b90a
|
@ -244,8 +244,7 @@ def process_notice(notice, log):
|
|||
# Drop messages not to the listed subscriptions
|
||||
if is_personal and not options.forward_personals:
|
||||
return
|
||||
if (zephyr_class not in current_zephyr_subs) and not \
|
||||
(is_personal and options.forward_personals):
|
||||
if (zephyr_class not in current_zephyr_subs) and not is_personal:
|
||||
logger.debug("Skipping ... %s/%s/%s" %
|
||||
(zephyr_class, notice.instance, is_personal))
|
||||
return
|
||||
|
|
Loading…
Reference in New Issue