mirror of https://github.com/zulip/zulip.git
Another attempt at fixing huddle message deduplication.
(imported from commit 6d48a3488b5ca0b3fc923386d5edfdd8c002112d)
This commit is contained in:
parent
1f6e09834b
commit
0be4ce05a6
|
@ -192,7 +192,7 @@ def forge_zephyr(request):
|
|||
# Huddle message, need to make sure we're not syncing it twice!
|
||||
if Zephyr.objects.filter(sender__user__email=request.POST['sender'],
|
||||
content=request.POST['new_zephyr'],
|
||||
time=float(request.POST['time'])):
|
||||
pub_date=float(request.POST['time'])):
|
||||
# This is a duplicate huddle message, deduplicate!
|
||||
return json_success()
|
||||
|
||||
|
|
Loading…
Reference in New Issue