diff options
author | 2021-07-19 18:42:08 +0200 | |
---|---|---|
committer | 2021-07-19 18:42:08 +0200 | |
commit | b1a4f38e383279d14d10b6b4575f752ca4b54f73 (patch) | |
tree | 813429385388f6ce7f6255d53210ce9ba914e796 /internal/typeutils/internaltoas.go | |
parent | Db tls (#102) (diff) | |
download | gotosocial-b1a4f38e383279d14d10b6b4575f752ca4b54f73.tar.xz |
allow different host + accountDomain (#103)
* allow different host + accountDomain
* use accountDomain in tags
Diffstat (limited to 'internal/typeutils/internaltoas.go')
-rw-r--r-- | internal/typeutils/internaltoas.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/typeutils/internaltoas.go b/internal/typeutils/internaltoas.go index 809cedc45..b24b07e13 100644 --- a/internal/typeutils/internaltoas.go +++ b/internal/typeutils/internaltoas.go @@ -580,7 +580,7 @@ func (c *converter) MentionToAS(m *gtsmodel.Mention) (vocab.ActivityStreamsMenti // name -- this should be the namestring of the mentioned user, something like @whatever@example.org var domain string if m.GTSAccount.Domain == "" { - domain = c.config.Host + domain = c.config.AccountDomain } else { domain = m.GTSAccount.Domain } |