mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-16 10:43:01 -06:00
use accountDomain in tags
This commit is contained in:
parent
82c26a73ee
commit
f34608179f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue