diff options
author | FChannel <> | 2021-06-24 23:45:18 -0700 |
---|---|---|
committer | FChannel <> | 2021-06-24 23:45:18 -0700 |
commit | ef7eb7330018c84a44fb24711982c25f51749d2e (patch) | |
tree | 8da97fce2dad238b994eede1f0b9ce2bf9b3a7ff /activityPubStruct.go | |
parent | b4f7d00ad9d13f96323366ded2eb7702e37f6e52 (diff) |
changed activitystream formating for objects to better align with pleromas actor field
Diffstat (limited to 'activityPubStruct.go')
-rw-r--r-- | activityPubStruct.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activityPubStruct.go b/activityPubStruct.go index b19536a..06c97e1 100644 --- a/activityPubStruct.go +++ b/activityPubStruct.go @@ -109,7 +109,7 @@ type ObjectBase struct { Alias string `json:"alias,omitempty"` AttributedTo string `json:"attributedTo,omitempty"` TripCode string `json:"tripcode,omitempty"` - Actor *Actor `json:"actor,omitempty"` + Actor string `json:"actor,omitempty"` Audience string `json:"audience,omitempty"` Content string `json:"content,omitempty"` EndTime string `json:"endTime,omitempty"` @@ -154,7 +154,7 @@ type NestedObjectBase struct { Alias string `json:"alias,omitempty"` AttributedTo string `json:"attributedTo,omitempty"` TripCode string `json:"tripcode,omitempty"` - Actor *Actor `json:"actor,omitempty"` + Actor string `json:"actor,omitempty"` Audience string `json:"audience,omitempty"` Content string `json:"content,omitempty"` EndTime string `json:"endTime,omitempty"` |