From b1a4f38e383279d14d10b6b4575f752ca4b54f73 Mon Sep 17 00:00:00 2001 From: Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 19 Jul 2021 18:42:08 +0200 Subject: allow different host + accountDomain (#103) * allow different host + accountDomain * use accountDomain in tags --- internal/typeutils/internaltoas.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/typeutils/internaltoas.go') 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 } -- cgit v1.2.3