aboutsummaryrefslogtreecommitdiff
path: root/views/webfinger.go
diff options
context:
space:
mode:
authorJulio Capote <jcapote@gmail.com>2023-01-02 18:33:19 +0000
committerJulio Capote <jcapote@gmail.com>2023-01-02 18:33:19 +0000
commit5d64d6ac469dc6e92792121cab0f102cebb8670f (patch)
treec7cb13a0454c16cf2d0621f6e546abb70dfe0cbe /views/webfinger.go
parent4f42b00ec18cfdf3f97527a6fe91babc03f118aa (diff)
downloadcommunique-5d64d6ac469dc6e92792121cab0f102cebb8670f.tar.gz
add webfinger alias for actor profile page and add attributedTo to outbox
Diffstat (limited to '')
-rw-r--r--views/webfinger.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/webfinger.go b/views/webfinger.go
index 5af6308..e6ddc23 100644
--- a/views/webfinger.go
+++ b/views/webfinger.go
@@ -25,7 +25,7 @@ func RenderWebfinger(name, domain, hostname string) (*WebfingerResource, error)
}
rs := WebfingerResource{
Subject: fmt.Sprintf("acct:%s%s", name, hostname), //hostname contains @
- Aliases: []string{},
+ Aliases: []string{actorUrl.String()},
Links: []Link{{
Rel: "self",
Href: actorUrl.String(),