From b760b32bae184f007d1705903cb169edec90c1cd Mon Sep 17 00:00:00 2001 From: Devin R Date: Sat, 28 Mar 2020 08:12:52 -0400 Subject: [PATCH] fix rebase swap --- src/base_client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())