refactor(MeshService): update `getNodes()` to use `nodeDBbyNodeNum`

pull/1244/head
andrekir 2024-09-13 18:37:10 -03:00
rodzic 52e79da803
commit 1252b67fce
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1766,7 +1766,7 @@ class MeshService : Service(), Logging {
}
override fun getNodes(): MutableList<NodeInfo> = toRemoteExceptions {
val r = nodeDBbyID.values.toMutableList()
val r = nodeDBbyNodeNum.values.toMutableList()
info("in getOnline, count=${r.size}")
// return arrayOf("+16508675309")
r