Merge pull request #80 from hiromi-mi/cache_actor_icon
push `/task/cache_actor_icon` at `Tasks.cache_actor_icon()`
This commit is contained in:
commit
f5f8e0cfeb
1 changed files with 2 additions and 0 deletions
|
@ -35,6 +35,8 @@ class Tasks:
|
|||
if MEDIA_CACHE.is_actor_icon_cached(icon_url):
|
||||
return None
|
||||
|
||||
p.push({"icon_url": icon_url, "actor_iri": actor_iri}, "/task/cache_actor_icon")
|
||||
|
||||
@staticmethod
|
||||
def cache_emoji(url: str, iri: str) -> None:
|
||||
if MEDIA_CACHE.is_emoji_cached(iri):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue