Render list of known rooms

This commit is contained in:
Joscha 2022-06-26 19:03:44 +02:00
parent 6c26f62008
commit e9e3b6e21c
3 changed files with 167 additions and 30 deletions

View file

@ -273,6 +273,10 @@ impl Room {
}
}
pub fn stopped(&self) -> bool {
self.event_tx.is_closed()
}
pub async fn status(&self) -> Result<Option<Status>, Error> {
let (tx, rx) = oneshot::channel();
self.event_tx