diff options
author | KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> | 2021-11-02 15:06:42 -0300 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | d80afd8a49f552c5dc51d8346d40809298fef11f (patch) | |
tree | 549e0dac8fe0ed21f283c92d7cd6daf40f3941ac /db/follow.go | |
parent | 36a41e03c59624a2b4a7eb174e9a003e288a1d7d (diff) |
db package now compiles without error for now
Diffstat (limited to 'db/follow.go')
-rw-r--r-- | db/follow.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/db/follow.go b/db/follow.go index 386de2b..0919e30 100644 --- a/db/follow.go +++ b/db/follow.go @@ -262,7 +262,10 @@ func SetActorFollowingDB(activity activitypub.Activity) (activitypub.Activity, e return activity, err } - remoteActorFollowerCol := GetCollectionFromReq(actor.Followers) + remoteActorFollowerCol, err := webfinger.GetCollectionFromReq(actor.Followers) + if err != nil { + return activity, err + } for _, e := range following { if e.Id == activity.Actor.Id { |