diff options
author | FChannel <=> | 2021-01-25 19:38:30 -0800 |
---|---|---|
committer | FChannel <=> | 2021-01-25 19:38:30 -0800 |
commit | 4f42982f3bfa16a934fef2a6c5c6e4d153d45b4e (patch) | |
tree | d1aeaf94b62fd21ed7f9d0cd53c58485d4be0eeb | |
parent | 4fed11e91912f8c50808d281c5ed8eaf62fae956 (diff) |
if following add actor To field
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 { |