fix rebase swap

master
Devin R 2020-03-28 08:12:52 -04:00
parent 7062bdb484
commit b760b32bae
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ impl Client {
.collect()
}
fn get_or_create_room(&mut self, room_id: &str) -> &mut Arc<RwLock<Room>> {
pub(crate) fn get_or_create_room(&mut self, room_id: &str) -> &mut Arc<RwLock<Room>> {
#[allow(clippy::or_fun_call)]
self.joined_rooms
.entry(room_id.to_string())