summaryrefslogtreecommitdiff
path: root/internal/processing/federation.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-09-20 16:46:45 +0200
committerLibravatar GitHub <noreply@github.com>2021-09-20 16:46:45 +0200
commitb315eee43b1e40a10ddf95786e516a4ac459510c (patch)
tree6338f12d50af8e7fdfe01c575b3b8425974da69e /internal/processing/federation.go
parentfederated authentication better logging + tidying (#232) (diff)
downloadgotosocial-b315eee43b1e40a10ddf95786e516a4ac459510c.tar.xz
Update webfingering a little, add tests (#236)
* Update webfingering a little, add tests * fix broken tests oops
Diffstat (limited to 'internal/processing/federation.go')
-rw-r--r--internal/processing/federation.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/federation.go b/internal/processing/federation.go
index 352a6ddc2..1fccfa36e 100644
--- a/internal/processing/federation.go
+++ b/internal/processing/federation.go
@@ -371,7 +371,7 @@ func (p *processor) GetFediStatusReplies(ctx context.Context, requestedUsername
return data, nil
}
-func (p *processor) GetWebfingerAccount(ctx context.Context, requestedUsername string, requestURL *url.URL) (*apimodel.WellKnownResponse, gtserror.WithCode) {
+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)
if err != nil {