aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFChannel <=>2021-01-25 19:38:30 -0800
committerFChannel <=>2021-01-25 19:38:30 -0800
commit4f42982f3bfa16a934fef2a6c5c6e4d153d45b4e (patch)
treed1aeaf94b62fd21ed7f9d0cd53c58485d4be0eeb
parent4fed11e91912f8c50808d281c5ed8eaf62fae956 (diff)
if following add actor To field
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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 {