From fd271b1f811d556e1499692f039bdc1eaa9f9d28 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Wed, 25 May 2022 22:51:36 +0200 Subject: [PATCH] Remove doubled paragraphs around stream title in AP outbox (#1927) --- activitypub/outbox/outbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activitypub/outbox/outbox.go b/activitypub/outbox/outbox.go index 13a5e11b4..a16017a37 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("

%s

", title) } - textContent = fmt.Sprintf("

%s

%s

%s

%s", textContent, streamTitle, tagsString, data.GetServerURL(), data.GetServerURL()) + textContent = fmt.Sprintf("

%s

%s

%s

%s", textContent, streamTitle, tagsString, data.GetServerURL(), data.GetServerURL()) activity, _, note, noteID := createBaseOutboundMessage(textContent)