mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: remove node from service database in removeByNodenum
This commit is contained in:
parent
e5b229e6ff
commit
4f0652ad9f
1 changed files with 2 additions and 2 deletions
|
|
@ -1901,12 +1901,12 @@ class MeshService : Service(), Logging {
|
|||
override fun stopProvideLocation() = toRemoteExceptions {
|
||||
stopLocationRequests()
|
||||
}
|
||||
|
||||
override fun removeByNodenum(requestId: Int, nodeNum: Int) = toRemoteExceptions {
|
||||
nodeDBbyNodeNum.remove(nodeNum)
|
||||
sendToRadio(newMeshPacketTo(myNodeNum).buildAdminPacket {
|
||||
removeByNodenum = nodeNum
|
||||
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
override fun requestPosition(destNum: Int, position: Position) = toRemoteExceptions {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue