use real dev nums

This commit is contained in:
geeksville 2020-01-26 15:01:59 -08:00
parent 0b646dcab7
commit 52440d499e
2 changed files with 13 additions and 6 deletions

View file

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