瀏覽代碼

Remove extraneous @context fields on AP outbox

pull/299/head
Matt Baer 4 年之前
父節點
當前提交
5e4ed5d9bc
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      activitypub.go

+ 1
- 0
activitypub.go 查看文件

@@ -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…
取消
儲存