mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
fix(membership): Return the local join error when there are no remote servers to try
This commit is contained in:
2 files changed
+4
No files matched your search
@@ -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");
|
||||
},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user