diff options
author | 2022-01-24 13:12:17 +0100 | |
---|---|---|
committer | 2022-01-24 13:12:17 +0100 | |
commit | 667e7f112ce7b5b7452c392bbbe393a4c998508d (patch) | |
tree | f167df9f47f195669f81dd0111bc4704bf7faf4d /internal/processing/federation/getstatusreplies.go | |
parent | add file size checks (diff) | |
download | gotosocial-667e7f112ce7b5b7452c392bbbe393a4c998508d.tar.xz |
update remote account get/deref logic
Diffstat (limited to 'internal/processing/federation/getstatusreplies.go')
-rw-r--r-- | internal/processing/federation/getstatusreplies.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/federation/getstatusreplies.go b/internal/processing/federation/getstatusreplies.go index 4fc21e3ad..c6db4dd3e 100644 --- a/internal/processing/federation/getstatusreplies.go +++ b/internal/processing/federation/getstatusreplies.go @@ -43,7 +43,7 @@ func (p *processor) GetStatusReplies(ctx context.Context, requestedUsername stri return nil, gtserror.NewErrorNotAuthorized(errors.New("not authorized"), "not authorized") } - requestingAccount, _, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false) + requestingAccount, err := p.federator.GetRemoteAccount(ctx, requestedUsername, requestingAccountURI, false, false) if err != nil { return nil, gtserror.NewErrorNotAuthorized(err) } |