Remove extraneous @context fields on AP outbox

This commit is contained in:
Matt Baer 2020-04-15 12:28:55 -04:00
parent 1c5a0099b6
commit 7c923621b7

View file

@ -160,6 +160,7 @@ func handleFetchCollectionOutbox(app *App, w http.ResponseWriter, r *http.Reques
pp.Collection = res pp.Collection = res
o := pp.ActivityObject(app) o := pp.ActivityObject(app)
a := activitystreams.NewCreateActivity(o) a := activitystreams.NewCreateActivity(o)
a.Context = nil
ocp.OrderedItems = append(ocp.OrderedItems, *a) ocp.OrderedItems = append(ocp.OrderedItems, *a)
} }