From 14963269dc63bf038163a851e521d6815ab5f514 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sat, 7 Jan 2023 17:54:38 -0500 Subject: avatar support --- urls/urls.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'urls/urls.go') diff --git a/urls/urls.go b/urls/urls.go index 26370a4..69c3336 100644 --- a/urls/urls.go +++ b/urls/urls.go @@ -37,6 +37,10 @@ func UrlProfileKey(name, domain string) (*url.URL, error) { return linkTo("outbox", domain, "actors", name+"#key") } +func UrlActorAvatar(name, domain string) (*url.URL, error) { + return linkTo("outbox", domain, "actors", name, "avatar") +} + func UrlFollowers(name, domain string) (*url.URL, error) { return linkTo("outbox", domain, "actors", name, "followers") } -- cgit v1.2.3