fix(membership): Return the local join error when there are no remote servers to try

This commit is contained in:
Erwan Leboucher committed 2026-11-13 16:57:29 +01:00
1 parent 4ebcf299e2
commit 77e8a6b41b
2 files changed
+4

No files matched your search

+3
View File
@@ -221,6 +221,9 @@ impl Service {
// We couldn't authorize a local join, probably because it's
// restricted and we couldn't satisfy
// the join rules ourselves.
if servers.is_empty() {
return Err(err);
}
info!(?err, "Failed to join room locally, trying over federation instead");
},
}