diff --git a/lib/connector/meshcore_connector.dart b/lib/connector/meshcore_connector.dart index 410adb4..4af872c 100644 --- a/lib/connector/meshcore_connector.dart +++ b/lib/connector/meshcore_connector.dart @@ -3534,7 +3534,9 @@ class MeshCoreConnector extends ChangeNotifier { _directRepeaters.removeWhere((r) => r.isStale()); - if (contact.type == advTypeChat || contact.type == advTypeSensor) { + //We can use adverts from chat and sensor nodes, but only if the advert has a path to get the last hop. + if ((contact.type == advTypeChat || contact.type == advTypeSensor) && + path.isEmpty) { notifyListeners(); return; }