remove base_client method

This commit is contained in:
Devin R 2020-03-31 07:07:14 -04:00
parent 62159cc6dc
commit 0d79c3574e
2 changed files with 0 additions and 8 deletions

View file

@ -268,12 +268,6 @@ impl AsyncClient {
&self.homeserver
}
#[doc(hidden)]
/// Access to the underlying `BaseClient`. Used for testing and debugging so far.
pub fn base_client(&self) -> Arc<RwLock<BaseClient>> {
Arc::clone(&self.base_client)
}
/// Calculate the room name from a `RoomId`, returning a string.
pub async fn get_room_name(&self, room_id: &str) -> Option<String> {
self.base_client.read().await.calculate_room_name(room_id)

View file

@ -87,6 +87,4 @@ async fn timeline() {
Some("tutorial".into()),
client.get_room_name("!SVkFJHzfwvuaIEawgC:localhost").await
);
// println!("{:#?}", &client.base_client().read().await.joined_rooms);
}