summaryrefslogtreecommitdiff
path: root/internal/federation/federatingdb/followers.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/federation/federatingdb/followers.go')
-rw-r--r--internal/federation/federatingdb/followers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/federation/federatingdb/followers.go b/internal/federation/federatingdb/followers.go
index eb46ce83f..eb224960e 100644
--- a/internal/federation/federatingdb/followers.go
+++ b/internal/federation/federatingdb/followers.go
@@ -33,7 +33,7 @@ import (
//
// The library makes this call only after acquiring a lock first.
func (f *federatingDB) Followers(ctx context.Context, actorIRI *url.URL) (followers vocab.ActivityStreamsCollection, err error) {
- acct, err := f.getAccountForIRI(ctx, actorIRI)
+ acct, err := f.state.DB.GetAccountByURI(ctx, actorIRI.String())
if err != nil {
return nil, err
}