jabber_mirror: Working PM mirroring

(imported from commit 34617f989e83029c6591461adc3ffa18ddea2037)
This commit is contained in:
Zev Benjamin 2014-02-28 13:51:51 -05:00
parent 2185d42a90
commit 84412572a1

View file

@ -82,7 +82,7 @@ class JabberToZulipBot(ClientXMPP):
logging.exception("Error forwarding Jabber => Zulip") logging.exception("Error forwarding Jabber => Zulip")
def private(self, msg): def private(self, msg):
if options.mode == 'personal' or msg['thread'] == u'\u1B80': if options.mode == 'public' or msg['thread'] == u'\u1B80':
return return
sender = jid_to_zulip(msg["from"]) sender = jid_to_zulip(msg["from"])
recipient = jid_to_zulip(msg["to"]) recipient = jid_to_zulip(msg["to"])