Ask multiple servers for keys when not known or sending server failed
This commit is contained in:
parent
f3253f2033
commit
c9f4ff5cf8
2 changed files with 53 additions and 10 deletions
|
@ -1605,7 +1605,7 @@ impl Rooms {
|
|||
})
|
||||
}
|
||||
|
||||
/// Returns an iterator over all joined members of a room.
|
||||
/// Returns an iterator of all servers participating in this room.
|
||||
pub fn room_servers(&self, room_id: &RoomId) -> impl Iterator<Item = Result<Box<ServerName>>> {
|
||||
let mut prefix = room_id.as_bytes().to_vec();
|
||||
prefix.push(0xff);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue