mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-02-16 02:32:51 -05:00
Complete request future if response is a ClientNotification
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user