rooms: cache rooms only when the roomlist is cleared
This commit is contained in:
parent
5dae373c85
commit
4205a6a980
1 changed files with 1 additions and 2 deletions
|
@ -95,9 +95,8 @@ impl AppOp {
|
|||
if let Some(ref active_room) = self.active_room {
|
||||
self.roomlist.select(active_room);
|
||||
}
|
||||
self.cache_rooms();
|
||||
}
|
||||
|
||||
self.cache_rooms();
|
||||
}
|
||||
|
||||
pub fn reload_rooms(&mut self) {
|
||||
|
|
Loading…
Reference in a new issue