s/get_room_version/get_room_version_id/

... to make way for a forthcoming get_room_version which returns a RoomVersion
object.
This commit is contained in:
Richard van der Hoff 2020-01-31 10:06:21 +00:00
parent 46a446828d
commit d7bf793cc1
12 changed files with 37 additions and 33 deletions

View file

@ -62,7 +62,7 @@ class StateGroupWorkerStore(EventsWorkerStore, SQLBaseStore):
super(StateGroupWorkerStore, self).__init__(database, db_conn, hs)
@cached(max_entries=10000)
async def get_room_version(self, room_id: str) -> str:
async def get_room_version_id(self, room_id: str) -> str:
"""Get the room_version of a given room
Raises: