mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-26 11:35:15 -04:00
fix config being a dict, actually
This commit is contained in:
parent
af187805b3
commit
18bdac8ee4
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ class ContentRepositoryConfig(Config):
|
||||||
# current worker app is the media repo.
|
# current worker app is the media repo.
|
||||||
if (
|
if (
|
||||||
self.enable_media_repo is False
|
self.enable_media_repo is False
|
||||||
and config.worker_app != "synapse.app.media_repository"
|
and config.get("worker_app") != "synapse.app.media_repository"
|
||||||
):
|
):
|
||||||
self.can_load_media_repo = False
|
self.can_load_media_repo = False
|
||||||
return
|
return
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue