Cache actor icon in its own task
This commit is contained in:
parent
ae8ed147c7
commit
6a459d0f87
4 changed files with 24 additions and 4 deletions
|
@ -24,6 +24,10 @@ class Tasks:
|
|||
"/task/cache_actor",
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
def cache_actor_icon(icon_url: str, actor_iri: str):
|
||||
p.push({"icon_url": icon_url, "actor_iri": actor_iri}, "/task/cache_actor_icon")
|
||||
|
||||
@staticmethod
|
||||
def post_to_remote_inbox(payload: str, recp: str) -> None:
|
||||
p.push({"payload": payload, "to": recp}, "/task/post_to_remote_inbox")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue