From 2b79ab0313f101c4f0e396ff931b9a5ab63f0502 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Wed, 7 May 2025 17:20:22 -0400 Subject: [PATCH] Fix security context getting removed on AP collection endpoint --- collections.go | 1 - 1 file changed, 1 deletion(-) diff --git a/collections.go b/collections.go index 90e02ba..4887949 100644 --- a/collections.go +++ b/collections.go @@ -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) }