This commit is contained in:
Gabe Kangas 2022-01-17 20:01:43 -08:00
parent 626bd3776f
commit 9a875722b1
No known key found for this signature in database
GPG Key ID: 9A56337728BC81EA

View File

@ -183,6 +183,9 @@ func MakeServiceForAccount(accountName string) vocab.ActivityStreamsService {
person.SetActivityStreamsSummary(summaryProperty)
// Links
if serverURL := data.GetServerURL(); serverURL != "" {
addMetadataLinkToProfile(person, "Stream", serverURL)
}
for _, link := range data.GetSocialHandles() {
addMetadataLinkToProfile(person, link.Platform, link.URL)
}