policy-endpoint-device: Fix endpoints not connected with devices
-if device linkables are created ahead of the endpoints, endpoints are not connected with the devices. -rescan the endpoints on an endpoint creation.
This commit is contained in:

committed by
George Kiagiadakis

parent
03c6fb0a86
commit
72f4f19cbf
@@ -221,6 +221,10 @@ linkables_om:connect("objects-changed", function (om)
|
||||
scheduleRescan ()
|
||||
end)
|
||||
|
||||
endpoints_om:connect("object-added", function (om)
|
||||
scheduleRescan ()
|
||||
end)
|
||||
|
||||
linkables_om:connect("object-removed", function (om, si)
|
||||
unhandleLinkable (si)
|
||||
end)
|
||||
|
Reference in New Issue
Block a user