Commit 76d93a20 authored by Daniel Garcia Moreno's avatar Daniel Garcia Moreno Committed by Daniel Garcia Moreno

Reload active room on rooms update

We need to select again the active room when we clear the room list and
we've one active room so we can reload the list of messages.

Fix #404
parent d5a85f43
......@@ -121,7 +121,7 @@ impl AppOp {
});
// Select active room in the sidebar
if let Some(ref active_room) = self.active_room {
self.roomlist.select(active_room);
self.set_active_room_by_id(active_room.clone());
}
self.cache_rooms();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment