rooms: cache rooms only when the roomlist is cleared

This commit is contained in:
Julian Sparber 2019-01-05 14:45:23 +01:00
parent 5dae373c85
commit 4205a6a980

View file

@ -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) {