Remove doubled paragraphs around stream title in AP outbox (#1927)
This commit is contained in:
parent
32ac156588
commit
fd271b1f81
@ -60,7 +60,7 @@ func SendLive() error {
|
|||||||
if title := data.GetStreamTitle(); title != "" {
|
if title := data.GetStreamTitle(); title != "" {
|
||||||
streamTitle = fmt.Sprintf("<p>%s</p>", 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)
|
activity, _, note, noteID := createBaseOutboundMessage(textContent)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user