mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 11:05:49 +03:00
Merge pull request #3190 from mujx/notif-token-fix
notifications: Convert next_token to string according to the spec
This commit is contained in:
commit
678e649b78
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class NotificationsServlet(RestServlet):
|
||||||
pa["topological_ordering"], pa["stream_ordering"]
|
pa["topological_ordering"], pa["stream_ordering"]
|
||||||
)
|
)
|
||||||
returned_push_actions.append(returned_pa)
|
returned_push_actions.append(returned_pa)
|
||||||
next_token = pa["stream_ordering"]
|
next_token = str(pa["stream_ordering"])
|
||||||
|
|
||||||
defer.returnValue((200, {
|
defer.returnValue((200, {
|
||||||
"notifications": returned_push_actions,
|
"notifications": returned_push_actions,
|
||||||
|
|
Loading…
Reference in a new issue