mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
use real dev nums
This commit is contained in:
parent
0b646dcab7
commit
52440d499e
2 changed files with 13 additions and 6 deletions
|
|
@ -155,7 +155,9 @@ class MeshService : Service(), Logging {
|
|||
/// Map a userid to a node/ node num, or throw an exception if not found
|
||||
private fun toNodeInfo(id: String) =
|
||||
nodeDBbyID[id]
|
||||
?: getOrCreateNodeInfo(10) // FIXME hack for now - throw IdNotFoundException(id)
|
||||
?: throw IdNotFoundException(id)
|
||||
|
||||
// ?: getOrCreateNodeInfo(10) // FIXME hack for now - throw IdNotFoundException(id)
|
||||
|
||||
private fun toNodeNum(id: String) = toNodeInfo(id).num
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue