From 4f42982f3bfa16a934fef2a6c5c6e4d153d45b4e Mon Sep 17 00:00:00 2001 From: FChannel <=> Date: Mon, 25 Jan 2021 19:38:30 -0800 Subject: if following add actor To field --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 7c31bbb..90a2521 100644 --- a/main.go +++ b/main.go @@ -1033,7 +1033,7 @@ func AddFollowersToActivity(db *sql.DB, activity Activity) Activity{ var tempActivity Activity aFollowers := GetActorCollection(e.Id + "/followers") for _, k := range aFollowers.Items { - bFollowers := GetActorCollection(k.Id + "/followers") + bFollowers := GetActorCollection(k.Id + "/following") var isFollowingActor = false for _, n := range bFollowers.Items { if n.Id == activity.Actor.Id { -- cgit v1.2.3