diff options
author | Erik Johnston <erik@matrix.org> | 2020-01-08 13:25:31 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2020-01-08 13:26:20 +0000 |
commit | 1adf27c82a6ead7f5001b95240c5dadbc0fd386d (patch) | |
tree | e687e0cc112aca4ea7a4064e96fc864a38254f11 | |
parent | Move media admin store functions to worker store (diff) | |
download | synapse-1adf27c82a6ead7f5001b95240c5dadbc0fd386d.tar.xz |
Import RoomStore in media worker to fix admin APIs
-rw-r--r-- | synapse/app/media_repository.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/app/media_repository.py b/synapse/app/media_repository.py index a63c53dc44..5b5832214a 100644 --- a/synapse/app/media_repository.py +++ b/synapse/app/media_repository.py @@ -34,6 +34,7 @@ from synapse.replication.slave.storage._base import BaseSlavedStore from synapse.replication.slave.storage.appservice import SlavedApplicationServiceStore from synapse.replication.slave.storage.client_ips import SlavedClientIpStore from synapse.replication.slave.storage.registration import SlavedRegistrationStore +from synapse.replication.slave.storage.room import RoomStore from synapse.replication.slave.storage.transactions import SlavedTransactionStore from synapse.replication.tcp.client import ReplicationClientHandler from synapse.rest.admin import register_servlets_for_media_repo @@ -47,6 +48,7 @@ logger = logging.getLogger("synapse.app.media_repository") class MediaRepositorySlavedStore( + RoomStore, SlavedApplicationServiceStore, SlavedRegistrationStore, SlavedClientIpStore, |