mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 03:29:24 -05:00
notifications: Convert next_token to string according to the spec
Currently the parameter is serialized as an integer. Signed-off-by: Konstantinos Sideris <sideris.konstantin@gmail.com>
This commit is contained in:
parent
966686c845
commit
88868b2839
@ -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 New Issue
Block a user