mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-17 06:50:13 -04:00
Merge remote-tracking branch 'upstream/release-v1.45'
This commit is contained in:
commit
80adb0a6ca
196 changed files with 4122 additions and 2177 deletions
|
@ -95,7 +95,7 @@ class ContentRepositoryConfig(Config):
|
|||
# Only enable the media repo if either the media repo is enabled or the
|
||||
# current worker app is the media repo.
|
||||
if (
|
||||
self.enable_media_repo is False
|
||||
self.root.server.enable_media_repo is False
|
||||
and config.get("worker_app") != "synapse.app.media_repository"
|
||||
):
|
||||
self.can_load_media_repo = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue