mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 14:14:58 -04:00
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:
parent
46a446828d
commit
d7bf793cc1
12 changed files with 37 additions and 33 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue