Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Add server URL to profile data. Closes https://github.com/owncast/owncast/issues/1675

Gabe Kangasba5c92aa27cf
diff --git a/activitypub/apmodels/actor.go b/activitypub/apmodels/actor.go
index bdae450739..5c96e0ebb1 100644
--- a/activitypub/apmodels/actor.go
+++ b/activitypub/apmodels/actor.go
@@ -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)
}