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

Commit 678e649

Browse files
authored
Merge pull request #3190 from mujx/notif-token-fix
notifications: Convert next_token to string according to the spec
2 parents 0b7dfbb + 88868b2 commit 678e649

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

synapse/rest/client/v2_alpha/notifications.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def on_GET(self, request):
8888
pa["topological_ordering"], pa["stream_ordering"]
8989
)
9090
returned_push_actions.append(returned_pa)
91-
next_token = pa["stream_ordering"]
91+
next_token = str(pa["stream_ordering"])
9292

9393
defer.returnValue((200, {
9494
"notifications": returned_push_actions,

0 commit comments

Comments
 (0)