From 52d69731911e84f0e704c19321b617471b9ae142 Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Fri, 21 Feb 2014 13:32:48 -0500 Subject: [PATCH] jabber_mirror: Fix anti-looping (imported from commit 5b0ee18b3ec4fd73912fde83b14083e77940ab6e) --- bots/jabber_mirror.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bots/jabber_mirror.py b/bots/jabber_mirror.py index 4f56730126..c7203d7444 100755 --- a/bots/jabber_mirror.py +++ b/bots/jabber_mirror.py @@ -158,7 +158,7 @@ class ZulipToJabberBot(zulip.Client): mto = jabber_recipient, mbody = msg['content'], mtype = 'groupchat') - outgoing['thread'] == u'\u1B80' + outgoing['thread'] = u'\u1B80' outgoing.send() def private_message(self, msg): @@ -172,7 +172,7 @@ class ZulipToJabberBot(zulip.Client): mto = jabber_recipient, mbody = msg['content'], mtype = 'chat') - outgoing['thread'] == u'\u1B80' + outgoing['thread'] = u'\u1B80' outgoing.send() if __name__ == '__main__':