Explorar el Código

Remove extraneous @context fields on AP outbox

fix-friendica
Matt Baer hace 4 años
padre
commit
7c923621b7
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      activitypub.go

+ 1
- 0
activitypub.go Ver fichero

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



Cargando…
Cancelar
Guardar