Add server URL to profile data. Closes https://github.com/owncast/owncast/issues/1675
This commit is contained in:
parent
626bd3776f
commit
9a875722b1
@ -183,6 +183,9 @@ func MakeServiceForAccount(accountName string) vocab.ActivityStreamsService {
|
|||||||
person.SetActivityStreamsSummary(summaryProperty)
|
person.SetActivityStreamsSummary(summaryProperty)
|
||||||
|
|
||||||
// Links
|
// Links
|
||||||
|
if serverURL := data.GetServerURL(); serverURL != "" {
|
||||||
|
addMetadataLinkToProfile(person, "Stream", serverURL)
|
||||||
|
}
|
||||||
for _, link := range data.GetSocialHandles() {
|
for _, link := range data.GetSocialHandles() {
|
||||||
addMetadataLinkToProfile(person, link.Platform, link.URL)
|
addMetadataLinkToProfile(person, link.Platform, link.URL)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user