diff options
author | Julio Capote <jcapote@gmail.com> | 2023-01-07 22:54:38 +0000 |
---|---|---|
committer | Julio Capote <jcapote@gmail.com> | 2023-01-07 22:54:38 +0000 |
commit | 14963269dc63bf038163a851e521d6815ab5f514 (patch) | |
tree | d85f0b5cfebe22924e0068ce1b47b65c79953331 /urls/urls.go | |
parent | af05fbea27df62c96b411a941cf5bb612f256e9d (diff) | |
download | communique-14963269dc63bf038163a851e521d6815ab5f514.tar.gz |
avatar support
Diffstat (limited to '')
-rw-r--r-- | urls/urls.go | 4 |
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") } |