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

This commit is contained in:
andrekir 2024-09-13 18:37:10 -03:00
parent 52e79da803
commit 1252b67fce

View file

@ -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