Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3190 from mujx/notif-token-fix
Browse files Browse the repository at this point in the history
notifications: Convert next_token to string according to the spec
  • Loading branch information
richvdh authored May 8, 2018
2 parents 0b7dfbb + 88868b2 commit 678e649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/rest/client/v2_alpha/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def on_GET(self, request):
pa["topological_ordering"], pa["stream_ordering"]
)
returned_push_actions.append(returned_pa)
next_token = pa["stream_ordering"]
next_token = str(pa["stream_ordering"])

defer.returnValue((200, {
"notifications": returned_push_actions,
Expand Down

0 comments on commit 678e649

Please sign in to comment.