forked from MirrorHub/synapse
Add store to PreviewUrlResource
This commit is contained in:
parent
fb76a81ff7
commit
9181e2f4c7
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue