🚨 Fix some clippy warnings

This commit is contained in:
2024-05-26 11:53:47 +02:00
parent 62015f8d13
commit 89473cfd61
6 changed files with 11 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ impl Account {
self.messaging_provider = Some(provider.clone());
}
#[allow(dead_code)]
pub fn get_room(&self, room_id: &RoomId) -> Option<Rc<Room>> {
self.by_id_rooms.borrow().get(room_id).cloned()
}