kopia lustrzana https://github.com/meshtastic/Meshtastic-Android
refactor(MeshService): update `getNodes()` to use `nodeDBbyNodeNum`
rodzic
52e79da803
commit
1252b67fce
|
@ -1766,7 +1766,7 @@ class MeshService : Service(), Logging {
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun getNodes(): MutableList<NodeInfo> = toRemoteExceptions {
|
override fun getNodes(): MutableList<NodeInfo> = toRemoteExceptions {
|
||||||
val r = nodeDBbyID.values.toMutableList()
|
val r = nodeDBbyNodeNum.values.toMutableList()
|
||||||
info("in getOnline, count=${r.size}")
|
info("in getOnline, count=${r.size}")
|
||||||
// return arrayOf("+16508675309")
|
// return arrayOf("+16508675309")
|
||||||
r
|
r
|
||||||
|
|
Ładowanie…
Reference in New Issue