mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 10:33:11 -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 {
|
||||
r.statistics.ForServer(joinErr.ServerName).Success(statistics.SendDirect)
|
||||
}
|
||||
return joinErr
|
||||
return joinErr.Err
|
||||
}
|
||||
r.statistics.ForServer(serverName).Success(statistics.SendDirect)
|
||||
if response == nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue