From 5e4ed5d9bcf28a57dc756e95bac244e66d72c354 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Wed, 15 Apr 2020 12:28:55 -0400 Subject: [PATCH] Remove extraneous @context fields on AP outbox --- activitypub.go | 1 + 1 file changed, 1 insertion(+) diff --git a/activitypub.go b/activitypub.go index d2980ff..db42726 100644 --- a/activitypub.go +++ b/activitypub.go @@ -160,6 +160,7 @@ func handleFetchCollectionOutbox(app *App, w http.ResponseWriter, r *http.Reques pp.Collection = res o := pp.ActivityObject(app) a := activitystreams.NewCreateActivity(o) + a.Context = nil ocp.OrderedItems = append(ocp.OrderedItems, *a) }