Create room table for easier room deletion

This commit is contained in:
Joscha 2022-06-26 15:56:51 +02:00
parent 54e5a7c97c
commit 6c26f62008
3 changed files with 61 additions and 5 deletions

View file

@ -167,6 +167,7 @@ impl State {
}
Data::SnapshotEvent(d) => {
info!("e&{}: successfully joined", self.name);
self.vault.join();
self.last_msg_id = Some(d.log.last().map(|m| m.id));
self.vault.add_messages(d.log, None);
let _ = self.ui_event_tx.send(UiEvent::Redraw);