Ver a proveniência

Remove extraneous @context fields on AP outbox

pull/299/head
Matt Baer há 4 anos
ascendente
cometimento
5e4ed5d9bc
1 ficheiros alterados com 1 adições e 0 eliminações
  1. +1
    -0
      activitypub.go

+ 1
- 0
activitypub.go Ver ficheiro

@@ -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)
}



Carregando…
Cancelar
Guardar