From 26c7f08465a23c28fafbef4bf45d249b8404a300 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 24 May 2016 17:10:23 +0100 Subject: Implement basic pagination --- synapse/storage/stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/storage/stream.py') diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py index a85cdac038..ab991e877d 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py @@ -547,7 +547,7 @@ class StreamStore(SQLBaseStore): else: return None - return self.runInteraction("get_last_ts_for_room", f) + return self.runInteraction("get_last_event_id_ts_for_room", f) @defer.inlineCallbacks def get_events_around(self, room_id, event_id, before_limit, after_limit): -- cgit 1.5.1