mirror of
https://github.com/element-hq/synapse.git
synced 2026-08-28 02:54:50 +00:00
Rename storage classes (#12913)
This commit is contained in:
@@ -70,7 +70,7 @@ async def inject_event(
|
||||
"""
|
||||
event, context = await create_event(hs, room_version, prev_event_ids, **kwargs)
|
||||
|
||||
persistence = hs.get_storage().persistence
|
||||
persistence = hs.get_storage_controllers().persistence
|
||||
assert persistence is not None
|
||||
|
||||
await persistence.persist_event(event, context)
|
||||
|
||||
Reference in New Issue
Block a user