Do request anyway if backing off

This commit is contained in:
Neil Alexander 2022-10-27 13:45:59 +01:00
parent 6ad64767a1
commit 0bc93ad82a
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -44,7 +44,7 @@ func (a *FederationInternalAPI) ClaimKeys(
) (gomatrixserverlib.RespClaimKeys, error) {
ctx, cancel := context.WithTimeout(ctx, time.Second*30)
defer cancel()
ires, err := a.doRequestIfNotBackingOffOrBlacklisted(s, func() (interface{}, error) {
ires, err := a.doRequestIfNotBlacklisted(s, func() (interface{}, error) {
return a.federation.ClaimKeys(ctx, s, oneTimeKeys)
})
if err != nil {