download/thumbnail don't need authentification

This commit is contained in:
miruka
2019-11-12 09:10:00 -04:00
parent 4cc2ebf6e3
commit 73541ad7a5
18 changed files with 74 additions and 65 deletions

View File

@@ -80,10 +80,6 @@ class MatrixClient(nio.AsyncClient):
self.skipped_events: DefaultDict[str, int] = DefaultDict(lambda: 0)
from .media_cache import MediaCache
cache_dir = Path(self.backend.app.appdirs.user_cache_dir)
self.media_cache = MediaCache(self, cache_dir)
from .nio_callbacks import NioCallbacks
self.nio_callbacks = NioCallbacks(self)