From 84412572a140490e2471f3bc37f0c36ddd3a348e Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Fri, 28 Feb 2014 13:51:51 -0500 Subject: [PATCH] jabber_mirror: Working PM mirroring (imported from commit 34617f989e83029c6591461adc3ffa18ddea2037) --- bots/jabber_mirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bots/jabber_mirror.py b/bots/jabber_mirror.py index 3915cec..f2eb9e1 100755 --- a/bots/jabber_mirror.py +++ b/bots/jabber_mirror.py @@ -82,7 +82,7 @@ class JabberToZulipBot(ClientXMPP): logging.exception("Error forwarding Jabber => Zulip") def private(self, msg): - if options.mode == 'personal' or msg['thread'] == u'\u1B80': + if options.mode == 'public' or msg['thread'] == u'\u1B80': return sender = jid_to_zulip(msg["from"]) recipient = jid_to_zulip(msg["to"])