Fix security context getting removed on AP collection endpoint
This commit is contained in:
parent
db66a885fb
commit
2b79ab0313
1 changed files with 0 additions and 1 deletions
|
@ -884,7 +884,6 @@ func handleViewCollection(app *App, w http.ResponseWriter, r *http.Request) erro
|
|||
// Serve ActivityStreams data now, if requested
|
||||
if IsActivityPubRequest(r) {
|
||||
ac := c.PersonObject()
|
||||
ac.Context = []interface{}{activitystreams.Namespace}
|
||||
setCacheControl(w, apCacheTime)
|
||||
return impart.RenderActivityJSON(w, ac, http.StatusOK)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue