fix(main_win): don't complain about unhandled plugins if there aren't any
@@ -234,8 +234,12 @@ impl MainWin {
}
pub fn available_plugins(&mut self, params: &Value) {
+ if let Some(_) = params.get("plugins") {
+ // TODO: There is one (or more!) plugins available, handle them!
+ } else {
error!("UNHANDLED available_plugins {}", params);
}
+ }
pub fn config_changed(&mut self, params: &Value) {
let view_id = {
