diff options
Diffstat (limited to 'internal/processing/federation/getwebfinger.go')
-rw-r--r-- | internal/processing/federation/getwebfinger.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/federation/getwebfinger.go b/internal/processing/federation/getwebfinger.go index 7158680d7..a1e1cb983 100644 --- a/internal/processing/federation/getwebfinger.go +++ b/internal/processing/federation/getwebfinger.go @@ -37,7 +37,7 @@ const ( func (p *processor) GetWebfingerAccount(ctx context.Context, requestedUsername string) (*apimodel.WellKnownResponse, gtserror.WithCode) { // get the account the request is referring to - requestedAccount, err := p.db.GetLocalAccountByUsername(ctx, requestedUsername) + requestedAccount, err := p.db.GetAccountByUsernameDomain(ctx, requestedUsername, "") if err != nil { return nil, gtserror.NewErrorNotFound(fmt.Errorf("database error getting account with username %s: %s", requestedUsername, err)) } |