summary refs log tree commit diff
path: root/synapse/handlers/room.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-17 11:44:32 +0000
committerGitHub <noreply@github.com>2019-12-17 11:44:32 +0000
commit02553901ce94461c6f140efc804443069b97f401 (patch)
tree17cf781fb83b0073646e5f6d9b0e60ecc182858f /synapse/handlers/room.py
parentAdd auth events as per spec. (#6556) (diff)
downloadsynapse-02553901ce94461c6f140efc804443069b97f401.tar.xz
Remove unused `get_pagination_rows` methods. (#6557)
Remove unused get_pagination_rows methods
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r--synapse/handlers/room.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 22768e97ff..2d7925547d 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -1008,15 +1008,3 @@ class RoomEventSource(object):
 
     def get_current_key_for_room(self, room_id):
         return self.store.get_room_events_max_id(room_id)
-
-    @defer.inlineCallbacks
-    def get_pagination_rows(self, user, config, key):
-        events, next_key = yield self.store.paginate_room_events(
-            room_id=key,
-            from_key=config.from_key,
-            to_key=config.to_key,
-            direction=config.direction,
-            limit=config.limit,
-        )
-
-        return (events, next_key)