mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-10 04:27:29 -06:00
restructuring + tidying
This commit is contained in:
parent
0967574d4d
commit
f5dde82363
72 changed files with 299 additions and 370 deletions
|
|
@ -150,15 +150,7 @@ func (f *Federator) AuthenticatePostInbox(ctx context.Context, w http.ResponseWr
|
|||
}
|
||||
l.Tracef("parsed username %s from %s", username, r.URL.String())
|
||||
|
||||
newContext, authed, err := validateInboundFederationRequest(ctx, r, f.db, username, f.transportController)
|
||||
|
||||
if err != nil {
|
||||
l.Debug(err)
|
||||
}
|
||||
|
||||
return newContext, authed, err
|
||||
|
||||
|
||||
return validateInboundFederationRequest(ctx, r, f.db, username, f.transportController)
|
||||
}
|
||||
|
||||
// Blocked should determine whether to permit a set of actors given by
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue