mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
Hopefully fix huddle message deduplication with MIT sync.
(imported from commit bccaa67d02e72b1c444d39b019d5bd87800b1441)
This commit is contained in:
@@ -192,7 +192,7 @@ def zephyr_to_humbug(options):
|
||||
def get_zephyrs(last_received):
|
||||
browser.addheaders.append(('X-CSRFToken', csrf_token))
|
||||
submit_hash = {'last_received': last_received,
|
||||
"mit_sync_bot": True}
|
||||
"mit_sync_bot": 'yes'}
|
||||
submit_data = urllib.urlencode([(k, v.encode('utf-8')) for k,v in submit_hash.items()])
|
||||
res = browser.open("https://app.humbughq.com/get_updates_longpoll", submit_data)
|
||||
return simplejson.loads(res.read())['zephyrs']
|
||||
|
||||
Reference in New Issue
Block a user