mirror of https://github.com/zulip/zulip.git
Fix notify_pointer_update notifying on the wrong user's pointer.
(imported from commit 4b50fa7da7d1de4e478f222f284ab6ba35db9899)
This commit is contained in:
parent
dd99f0ceb8
commit
384e64aaf5
|
@ -244,7 +244,7 @@ def update_pointer_backend(request, user_profile, updater,
|
||||||
if settings.TORNADO_SERVER:
|
if settings.TORNADO_SERVER:
|
||||||
requests.post(settings.TORNADO_SERVER + '/notify_pointer_update', data=dict(
|
requests.post(settings.TORNADO_SERVER + '/notify_pointer_update', data=dict(
|
||||||
secret = settings.SHARED_SECRET,
|
secret = settings.SHARED_SECRET,
|
||||||
user = user_profile.user.id,
|
user = user_profile.id,
|
||||||
new_pointer = pointer,
|
new_pointer = pointer,
|
||||||
pointer_updater = updater))
|
pointer_updater = updater))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue