Browse Source

Add missing Context property in Create activity

master
Matt Baer 5 years ago
parent
commit
98f3fe9a4c
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      activitystreams/activity.go

+ 3
- 0
activitystreams/activity.go View File

@@ -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",
},


Loading…
Cancel
Save