aboutsummaryrefslogtreecommitdiff
path: root/urls
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-07 22:54:38 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-07 22:54:38 +0000
commit14963269dc63bf038163a851e521d6815ab5f514 (patch)
treed85f0b5cfebe22924e0068ce1b47b65c79953331 /urls
parentaf05fbea27df62c96b411a941cf5bb612f256e9d (diff)
downloadcommunique-14963269dc63bf038163a851e521d6815ab5f514.tar.gz
avatar support
Diffstat (limited to 'urls')
-rw-r--r--urls/urls.go4
1 files changed, 4 insertions, 0 deletions
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")
}