AsyncClient: Expose the logged_in method.

This commit is contained in:
Damir Jelić 2019-11-17 19:55:27 +01:00
parent 10b8d1a682
commit 68102cc196

View file

@ -188,6 +188,10 @@ impl AsyncClient {
})
}
pub fn logged_in(&self) -> bool {
self.base_client.read().unwrap().logged_in()
}
// pub fn add_event_callback(
// &mut self,
// event_type: EventType,