summary refs log tree commit diff
path: root/synapse/handlers/pagination.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-01-31 10:06:21 +0000
committerRichard van der Hoff <richard@matrix.org>2020-01-31 10:06:21 +0000
commitd7bf793cc1e3f5268285286341835ac54753eff6 (patch)
tree8554590b143b95f83c4a60f89a8bbbf334e3c636 /synapse/handlers/pagination.py
parentpass room version into FederationHandler.on_invite_request (#6805) (diff)
downloadsynapse-d7bf793cc1e3f5268285286341835ac54753eff6.tar.xz
s/get_room_version/get_room_version_id/
... to make way for a forthcoming get_room_version which returns a RoomVersion
object.
Diffstat (limited to 'synapse/handlers/pagination.py')
-rw-r--r--synapse/handlers/pagination.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/pagination.py b/synapse/handlers/pagination.py
index 71d76202c9..caf841a643 100644
--- a/synapse/handlers/pagination.py
+++ b/synapse/handlers/pagination.py
@@ -281,7 +281,7 @@ class PaginationHandler(object):
         """Purge the given room from the database"""
         with (await self.pagination_lock.write(room_id)):
             # check we know about the room
-            await self.store.get_room_version(room_id)
+            await self.store.get_room_version_id(room_id)
 
             # first check that we have no users in this room
             joined = await defer.maybeDeferred(