create client binding only after group is discovered the first time
@@ -1371,11 +1371,10 @@ void DeRestPluginPrivate::handleSensorEvent(const Event &e)
groups.push_back(g);
updateGroupEtag(&groups.back());
queSaveDb(DB_GROUPS, DB_SHORT_SAVE_DELAY);
- }
-
checkSensorBindingsForClientClusters(sensor);
}
}
+}
/*! Starts the search for new sensors.
*/
