diff options
author | 2022-01-24 13:12:17 +0100 | |
---|---|---|
committer | 2022-01-24 13:12:17 +0100 | |
commit | 667e7f112ce7b5b7452c392bbbe393a4c998508d (patch) | |
tree | f167df9f47f195669f81dd0111bc4704bf7faf4d /internal/federation/federatingprotocol.go | |
parent | add file size checks (diff) | |
download | gotosocial-667e7f112ce7b5b7452c392bbbe393a4c998508d.tar.xz |
update remote account get/deref logic
Diffstat (limited to 'internal/federation/federatingprotocol.go')
-rw-r--r-- | internal/federation/federatingprotocol.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/federation/federatingprotocol.go b/internal/federation/federatingprotocol.go index f5d42a8e3..789959810 100644 --- a/internal/federation/federatingprotocol.go +++ b/internal/federation/federatingprotocol.go @@ -153,7 +153,7 @@ func (f *federator) AuthenticatePostInbox(ctx context.Context, w http.ResponseWr } } - requestingAccount, _, err := f.GetRemoteAccount(ctx, username, publicKeyOwnerURI, false) + requestingAccount, err := f.GetRemoteAccount(ctx, username, publicKeyOwnerURI, false, false) if err != nil { return nil, false, fmt.Errorf("couldn't get requesting account %s: %s", publicKeyOwnerURI, err) } |