summaryrefslogtreecommitdiff
path: root/internal/processing
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-07-19 18:42:08 +0200
committerLibravatar GitHub <noreply@github.com>2021-07-19 18:42:08 +0200
commitb1a4f38e383279d14d10b6b4575f752ca4b54f73 (patch)
tree813429385388f6ce7f6255d53210ce9ba914e796 /internal/processing
parentDb tls (#102) (diff)
downloadgotosocial-b1a4f38e383279d14d10b6b4575f752ca4b54f73.tar.xz
allow different host + accountDomain (#103)
* allow different host + accountDomain * use accountDomain in tags
Diffstat (limited to 'internal/processing')
-rw-r--r--internal/processing/federation.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/federation.go b/internal/processing/federation.go
index 6299d5e7e..966dab08d 100644
--- a/internal/processing/federation.go
+++ b/internal/processing/federation.go
@@ -304,7 +304,7 @@ func (p *processor) GetWebfingerAccount(ctx context.Context, requestedUsername s
// return the webfinger representation
return &apimodel.WellKnownResponse{
- Subject: fmt.Sprintf("acct:%s@%s", requestedAccount.Username, p.config.Host),
+ Subject: fmt.Sprintf("acct:%s@%s", requestedAccount.Username, p.config.AccountDomain),
Aliases: []string{
requestedAccount.URI,
requestedAccount.URL,