summary refs log tree commit diff
path: root/synapse/handlers/room.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/room.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/room.py')
-rw-r--r--synapse/handlers/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index a95b45d791..1382399557 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -178,7 +178,7 @@ class RoomCreationHandler(BaseHandler):
             },
             token_id=requester.access_token_id,
         )
-        old_room_version = yield self.store.get_room_version(old_room_id)
+        old_room_version = yield self.store.get_room_version_id(old_room_id)
         yield self.auth.check_from_context(
             old_room_version, tombstone_event, tombstone_context
         )