浏览代码

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



正在加载...
取消
保存