Update whitelist, pass network errors through in API=1 mode

This commit is contained in:
Kegan Dougal 2020-06-25 15:04:31 +01:00
parent dda2c278cd
commit a080ec6caa
2 changed files with 3 additions and 1 deletions

View file

@ -97,7 +97,7 @@ func (r *FederationSenderInternalAPI) PerformJoin(
} else { } else {
response.LastError = &gomatrix.HTTPError{ response.LastError = &gomatrix.HTTPError{
Code: 0, Code: 0,
WrappedError: lastErr, WrappedError: nil,
Message: lastErr.Error(), Message: lastErr.Error(),
} }
} }

View file

@ -371,3 +371,5 @@ Inbound federation rejects attempts to join v2 rooms from servers lacking versio
Inbound federation rejects attempts to join v2 rooms from servers only supporting v1 Inbound federation rejects attempts to join v2 rooms from servers only supporting v1
Outbound federation passes make_join failures through to the client Outbound federation passes make_join failures through to the client
Outbound federation correctly handles unsupported room versions Outbound federation correctly handles unsupported room versions
Remote users may not join unfederated rooms
Guest users denied access over federation if guest access prohibited