This website works better with JavaScript.
首頁
探索
說明
登入
writeas
/
web-core
镜像来自
https://github.com/writeas/web-core
關註
1
收藏
0
複製
0
程式碼
問題管理
0
版本發佈
0
Activity
瀏覽代碼
Add missing Context property in Create activity
master
Matt Baer
5 年之前
父節點
2432e9717e
當前提交
98f3fe9a4c
共有
1 個文件被更改
,包括
3 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
activitystreams/activity.go
+ 3
- 0
activitystreams/activity.go
查看文件
@@ -20,6 +20,9 @@ type Activity struct {
func NewCreateActivity(o *Object) *Activity {
a := Activity{
BaseObject: BaseObject{
Context: []string{
"https://www.w3.org/ns/activitystreams",
},
ID: o.ID + "/activity",
Type: "Create",
},
Write
Preview
Loading…
取消
儲存