diff options
author | Erik Johnston <erik@matrix.org> | 2014-08-19 14:19:48 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-08-19 14:19:48 +0100 |
commit | 598a1d8ff953c70f9f54564225d693a1bcf42144 (patch) | |
tree | dc5304ebe26c47bcd74ce3df66abb2d3a366bcc7 /synapse/handlers/room.py | |
parent | Fix typos in SQL and where we still had rowid's (which no longer exist) (diff) | |
download | synapse-598a1d8ff953c70f9f54564225d693a1bcf42144.tar.xz |
Change the way pagination works to support out of order events.
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r-- | synapse/handlers/room.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index e5dd2e245f..40867ae2e0 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -466,7 +466,7 @@ class RoomMemberHandler(BaseHandler): for entry in member_list ] chunk_data = { - "start": "START", + "start": "START", # FIXME (erikj): START is no longer a valid value "end": "END", "chunk": event_list } @@ -811,4 +811,5 @@ class RoomListHandler(BaseHandler): @defer.inlineCallbacks def get_public_room_list(self): chunk = yield self.store.get_rooms(is_public=True) + # FIXME (erikj): START is no longer a valid value defer.returnValue({"start": "START", "end": "END", "chunk": chunk}) |