mirror of
https://github.com/markqvist/LXMF.git
synced 2024-12-25 23:29:25 -05:00
Updated packet proof logic
This commit is contained in:
parent
f6cc9fd1cf
commit
2b3fa796a1
@ -980,6 +980,7 @@ class LXMRouter:
|
||||
return False
|
||||
|
||||
def delivery_packet(self, data, packet):
|
||||
packet.prove()
|
||||
try:
|
||||
if packet.destination_type != RNS.Destination.LINK:
|
||||
lxmf_data = b""
|
||||
@ -998,7 +999,6 @@ class LXMRouter:
|
||||
|
||||
phy_stats = {"rssi": packet.rssi, "snr": packet.snr, "q": packet.q}
|
||||
|
||||
packet.prove()
|
||||
self.lxmf_delivery(lxmf_data, packet.destination_type, phy_stats=phy_stats)
|
||||
|
||||
except Exception as e:
|
||||
|
Loading…
Reference in New Issue
Block a user