Skip to content

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

Explicitly set AP post as public. Closes #2112

Gabe Kangas19cafc497611
diff --git a/activitypub/outbox/outbox.go b/activitypub/outbox/outbox.go
index 0e0d89a106..043520e27d 100644
--- a/activitypub/outbox/outbox.go
+++ b/activitypub/outbox/outbox.go
@@ -173,6 +173,11 @@ func SendPublicMessage(textContent string) error {
activity, _, note, noteID := createBaseOutboundMessage(textContent)
note.SetActivityStreamsTag(tagProp)
+ if !data.GetFederationIsPrivate() {
+ note = apmodels.MakeNotePublic(note)
+ activity = apmodels.MakeActivityPublic(activity)
+ }
+
b, err := apmodels.Serialize(activity)
if err != nil {
log.Errorln("unable to serialize custom fediverse message activity", err)