aboutsummaryrefslogtreecommitdiff
path: root/activitypub/object.go
diff options
context:
space:
mode:
Diffstat (limited to 'activitypub/object.go')
-rw-r--r--activitypub/object.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/activitypub/object.go b/activitypub/object.go
index 29a17e4..59ea904 100644
--- a/activitypub/object.go
+++ b/activitypub/object.go
@@ -104,7 +104,7 @@ func (obj ObjectBase) DeleteAndRepliesRequest() error {
activity.Actor.Id = nObj.OrderedItems[0].Actor
activity.Object = &nObj.OrderedItems[0]
objActor, _ := GetActor(nObj.OrderedItems[0].Actor)
- followers, err := objActor.GetFollow()
+ followers, err := objActor.GetFollower()
if err != nil {
return util.MakeError(err, "DeleteAndRepliesRequest")
@@ -263,7 +263,7 @@ func (obj ObjectBase) DeleteRequest() error {
}
activity.Actor = &actor
objActor, _ := GetActor(nObj.Actor)
- followers, err := objActor.GetFollow()
+ followers, err := objActor.GetFollower()
if err != nil {
return util.MakeError(err, "DeleteRequest")
}