summary refs log tree commit diff
path: root/synapse/state/__init__.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/state/__init__.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/state/__init__.py')
-rw-r--r--synapse/state/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/state/__init__.py b/synapse/state/__init__.py
index cacd0c0c2b..fdd6bef6b4 100644
--- a/synapse/state/__init__.py
+++ b/synapse/state/__init__.py
@@ -394,7 +394,7 @@ class StateHandler(object):
                 delta_ids=delta_ids,
             )
 
-        room_version = yield self.store.get_room_version(room_id)
+        room_version = yield self.store.get_room_version_id(room_id)
 
         result = yield self._state_resolution_handler.resolve_state_groups(
             room_id,