forgor is_err check too
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
@@ -151,12 +151,7 @@ pub(crate) async fn get_alias_helper(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if response.as_ref().is_ok_and(|resp| resp.servers.is_empty()) {
|
if response.as_ref().is_ok_and(|resp| resp.servers.is_empty()) || response.as_ref().is_err() {
|
||||||
debug_warn!(
|
|
||||||
"Server {} responded with room aliases, but was empty? Response: {response:?}",
|
|
||||||
room_alias.server_name()
|
|
||||||
);
|
|
||||||
|
|
||||||
if let Some(servers) = servers {
|
if let Some(servers) = servers {
|
||||||
for server in servers {
|
for server in servers {
|
||||||
response = services()
|
response = services()
|
||||||
|
|||||||
Reference in New Issue
Block a user