mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 20:26:52 +00:00
Ask multiple servers for keys when not known or sending server failed
This commit is contained in:
1 parent
f3253f2033
commit
c9f4ff5cf8
2 files changed
+53
-10
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user