aboutsummaryrefslogtreecommitdiff
path: root/follow.go
diff options
context:
space:
mode:
authorFChannel <>2021-06-25 14:55:18 -0700
committerFChannel <>2021-06-25 14:55:18 -0700
commit80bcce22a2368c3911137dec97d6744dee328809 (patch)
tree0030d95bd0cc32562dd4652e93920e86188fcac5 /follow.go
parent3b806e4603a7da8bb6a24029a0115e18a6b7ba5b (diff)
more cleaning up to better intergrate with plemroma standards. can verify signatures better
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