mirror of
https://github.com/element-hq/synapse.git
synced 2026-07-31 09:30:48 +00:00
Rename storage classes (#12913)
This commit is contained in:
+1
-1
@@ -264,7 +264,7 @@ class MockClock:
|
||||
async def create_room(hs, room_id: str, creator_id: str):
|
||||
"""Creates and persist a creation event for the given room"""
|
||||
|
||||
persistence_store = hs.get_storage().persistence
|
||||
persistence_store = hs.get_storage_controllers().persistence
|
||||
store = hs.get_datastores().main
|
||||
event_builder_factory = hs.get_event_builder_factory()
|
||||
event_creation_handler = hs.get_event_creation_handler()
|
||||
|
||||
Reference in New Issue
Block a user