forgor is_err check too
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
ebc59e6f15
commit
93c3e6dec8
1 changed files with 1 additions and 6 deletions
|
@ -151,12 +151,7 @@ pub(crate) async fn get_alias_helper(
|
|||
);
|
||||
}
|
||||
|
||||
if response.as_ref().is_ok_and(|resp| resp.servers.is_empty()) {
|
||||
debug_warn!(
|
||||
"Server {} responded with room aliases, but was empty? Response: {response:?}",
|
||||
room_alias.server_name()
|
||||
);
|
||||
|
||||
if response.as_ref().is_ok_and(|resp| resp.servers.is_empty()) || response.as_ref().is_err() {
|
||||
if let Some(servers) = servers {
|
||||
for server in servers {
|
||||
response = services()
|
||||
|
|
Loading…
Add table
Reference in a new issue