mirror of
https://github.com/writefreely/writefreely
synced 2024-11-10 11:24:13 +00:00
Remove extraneous @context fields on AP outbox
This commit is contained in:
parent
1c5a0099b6
commit
7c923621b7
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue