Ask multiple servers for keys when not known or sending server failed

This commit is contained in:
Devin Ragotzy committed 2021-03-01 08:23:28 -05:00
1 parent f3253f2033
commit c9f4ff5cf8
2 files changed
+53 -10

No files matched your search

+1 -1
View File
@@ -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);