mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-17 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
|
// name -- this should be the namestring of the mentioned user, something like @whatever@example.org
|
||||||
var domain string
|
var domain string
|
||||||
if m.GTSAccount.Domain == "" {
|
if m.GTSAccount.Domain == "" {
|
||||||
domain = c.config.Host
|
domain = c.config.AccountDomain
|
||||||
} else {
|
} else {
|
||||||
domain = m.GTSAccount.Domain
|
domain = m.GTSAccount.Domain
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue