mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
refactor: exclude ENROUTE packets from offline queue
This commit is contained in:
parent
d7d856a4a8
commit
a250555ee5
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ interface PacketDao {
|
|||
|
||||
@Transaction
|
||||
fun getQueuedPackets(): List<DataPacket>? =
|
||||
getDataPackets().filter { it.status in setOf(MessageStatus.ENROUTE, MessageStatus.QUEUED) }
|
||||
getDataPackets().filter { it.status == MessageStatus.QUEUED }
|
||||
|
||||
@Query("Select * from packet where port_num = 8 order by received_time asc")
|
||||
fun getAllWaypoints(): List<Packet>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue