mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 21:03:51 +01:00
Fix storage provider bug introduced when renamed to store_local
This commit is contained in:
parent
8ff6726c0d
commit
cd871a3057
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class StorageProviderWrapper(StorageProvider):
|
||||||
self.store_remote = store_remote
|
self.store_remote = store_remote
|
||||||
|
|
||||||
def store_file(self, path, file_info):
|
def store_file(self, path, file_info):
|
||||||
if not self.store:
|
if not file_info.server_name and not self.store_local:
|
||||||
return defer.succeed(None)
|
return defer.succeed(None)
|
||||||
|
|
||||||
if file_info.server_name and not self.store_remote:
|
if file_info.server_name and not self.store_remote:
|
||||||
|
|
Loading…
Reference in a new issue