mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
Complete request future if response is a ClientNotification
This commit is contained in:
parent
94c40367f2
commit
a358b8cb11
1 changed files with 2 additions and 0 deletions
|
|
@ -1533,6 +1533,8 @@ class MeshService : Service(), Logging {
|
|||
private fun handleClientNotification(notification: MeshProtos.ClientNotification) {
|
||||
debug("Received clientNotification ${notification.toOneLineString()}")
|
||||
radioConfigRepository.setErrorMessage(notification.message)
|
||||
// if the future for the originating request is still in the queue, complete as unsuccessful for now
|
||||
queueResponse.remove(notification.replyId)?.complete(false)
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue