mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:16:07 -04:00
Correctly return new token when returning events. Serialize events correctly.
This commit is contained in:
parent
114984a236
commit
01f089d9fb
5 changed files with 25 additions and 9 deletions
|
@ -160,7 +160,7 @@ class EventStream(PaginationStream):
|
|||
self.user_id, from_pkey, to_pkey, limit
|
||||
)
|
||||
|
||||
chunk += event_chunk
|
||||
chunk += [e.get_dict() for e in event_chunk]
|
||||
next_ver.append(str(max_pkey))
|
||||
|
||||
defer.returnValue((chunk, EventStream.SEPARATOR.join(next_ver)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue