Add server URL to profile data. Closes https://github.com/owncast/owncast/issues/1675
This commit is contained in:
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user