diff --git a/src/base_client.rs b/src/base_client.rs index d5d7b74f..1a54ab80 100644 --- a/src/base_client.rs +++ b/src/base_client.rs @@ -389,7 +389,7 @@ impl Client { .collect() } - fn get_or_create_room(&mut self, room_id: &str) -> &mut Arc> { + pub(crate) fn get_or_create_room(&mut self, room_id: &str) -> &mut Arc> { #[allow(clippy::or_fun_call)] self.joined_rooms .entry(room_id.to_string())