mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-21 04:24:18 -05:00
Add store to PreviewUrlResource
This commit is contained in:
parent
fb76a81ff7
commit
9181e2f4c7
@ -52,6 +52,7 @@ class PreviewUrlResource(Resource):
|
||||
self.filepaths = media_repo.filepaths
|
||||
self.max_spider_size = hs.config.max_spider_size
|
||||
self.server_name = hs.hostname
|
||||
self.store = hs.get_datastore()
|
||||
self.client = SpiderHttpClient(hs)
|
||||
|
||||
if hasattr(hs.config, "url_preview_url_blacklist"):
|
||||
|
Loading…
Reference in New Issue
Block a user