Skip to content

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

Remove doubled paragraphs around stream title in AP outbox (#1927)

Andreas Nedbal689458701121
diff --git a/activitypub/outbox/outbox.go b/activitypub/outbox/outbox.go
index 13a5e11b40..a16017a37c 100644
--- a/activitypub/outbox/outbox.go
+++ b/activitypub/outbox/outbox.go
@@ -60,7 +60,7 @@ func SendLive() error {
if title := data.GetStreamTitle(); title != "" {
streamTitle = fmt.Sprintf("<p>%s</p>", title)
}
- textContent = fmt.Sprintf("<p>%s</p><p>%s</p><p>%s</p><a href=\"%s\">%s</a>", textContent, streamTitle, tagsString, data.GetServerURL(), data.GetServerURL())
+ textContent = fmt.Sprintf("<p>%s</p>%s<p>%s</p><a href=\"%s\">%s</a>", textContent, streamTitle, tagsString, data.GetServerURL(), data.GetServerURL())
activity, _, note, noteID := createBaseOutboundMessage(textContent)