Create room table for easier room deletion
This commit is contained in:
parent
54e5a7c97c
commit
6c26f62008
3 changed files with 61 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue