async fn is_room_encrypted(&self, room_id: &RoomId) -> bool {
        let room = self.base_client.get_joined_room(room_id).await;

        match room {
            Some(r) => r.read().await.is_encrypted(),
            None => false,
        }
    }
/// Check if the given room is encrypted.
///
/// Returns true if a room with the given id was found and the room is
/// encrypted, false if the room wasn't found or isn't encrypted.
Check if the given room is encrypted.
Returns true if a room with the given id was found and the room is
encrypted, false if the room wasn't found or isn't encrypted.
Check if the given room is encrypted . Returns true if a room with the given id was found and the room is encrypted false if the room wasn ' t found or isn ' t encrypted .
async fn is_room_encrypted(&self, room_id: &RoomId) -> bool {
        let room = self.base_client.get_joined_room(room_id).await;
        match room {
            Some(r) => r.read().await.is_encrypted(),
            None => false,
        }
    }
async fn is_room_encrypted ( & self , room_id : & RoomId ) -> bool { let room = self . base_client . get_joined_room ( room_id ) . await ; match room { Some ( r ) => r . read ( ) . await . is_encrypted ( ) , None => false , } }
Check if the given room is encrypted.
Check if the given room is encrypted .
&self
room_id
&RoomId
&self
room_id
&RoomId