mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-07-03 14:06:34 +02:00
refactor(MeshService): update getNodes() to use nodeDBbyNodeNum
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user