diff options
author | Matthew Hodgson <matthew@arasphere.net> | 2018-08-16 10:46:50 +0200 |
---|---|---|
committer | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-08-16 09:46:50 +0100 |
commit | 3f543dc021dd9456c8ed2da7a1e4769a68c07729 (patch) | |
tree | a95c6c0436fe5715ccc096aeeacdbc459bf451b8 /synapse/storage/stream.py | |
parent | Merge pull request #3686 from matrix-org/rav/changelog_links_to_prs (diff) | |
download | synapse-3f543dc021dd9456c8ed2da7a1e4769a68c07729.tar.xz |
initial cut at a room summary API (#3574)
Diffstat (limited to 'synapse/storage/stream.py')
-rw-r--r-- | synapse/storage/stream.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py index b9f2b74ac6..4c296d72c0 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py @@ -348,7 +348,7 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore): end_token (str): The stream token representing now. Returns: - Deferred[tuple[list[FrozenEvent], str]]: Returns a list of + Deferred[tuple[list[FrozenEvent], str]]: Returns a list of events and a token pointing to the start of the returned events. The events returned are in ascending order. @@ -379,7 +379,7 @@ class StreamWorkerStore(EventsWorkerStore, SQLBaseStore): end_token (str): The stream token representing now. Returns: - Deferred[tuple[list[_EventDictReturn], str]]: Returns a list of + Deferred[tuple[list[_EventDictReturn], str]]: Returns a list of _EventDictReturn and a token pointing to the start of the returned events. The events returned are in ascending order. |