mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Pass up just the internal err in PerformJoin
This commit is contained in:
parent
c0a4599b2f
commit
c21d59441e
|
|
@ -169,7 +169,7 @@ func (r *FederationInternalAPI) performJoinUsingServer(
|
||||||
} else {
|
} else {
|
||||||
r.statistics.ForServer(joinErr.ServerName).Success(statistics.SendDirect)
|
r.statistics.ForServer(joinErr.ServerName).Success(statistics.SendDirect)
|
||||||
}
|
}
|
||||||
return joinErr
|
return joinErr.Err
|
||||||
}
|
}
|
||||||
r.statistics.ForServer(serverName).Success(statistics.SendDirect)
|
r.statistics.ForServer(serverName).Success(statistics.SendDirect)
|
||||||
if response == nil {
|
if response == nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue