improvement: randomize server order for alias joins
This commit is contained in:
parent
3a1a72df98
commit
fd1ccbd3ad
2 changed files with 6 additions and 5 deletions
|
@ -112,7 +112,7 @@ pub async fn join_room_by_id_or_alias_route(
|
|||
Err(room_alias) => {
|
||||
let response = get_alias_helper(room_alias).await?;
|
||||
|
||||
(response.servers.into_iter().collect(), response.room_id)
|
||||
(response.servers, response.room_id)
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue