aboutsummaryrefslogtreecommitdiff
path: root/follow.go
diff options
context:
space:
mode:
Diffstat (limited to 'follow.go')
-rw-r--r--follow.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/follow.go b/follow.go
index d62e3b8..7c56136 100644
--- a/follow.go
+++ b/follow.go
@@ -139,6 +139,8 @@ func RejectActivity(activity Activity) Activity {
accept.Type = "Reject"
var nObj ObjectBase
accept.Object = &nObj
+ var nActor Actor
+ accept.Actor = &nActor
accept.Actor.Id = activity.Object.Actor
accept.Object.Actor = activity.Actor.Id
var nNested NestedObjectBase