From 4b13d7188c537c00e623531ef6b980dc2dfc8811 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Fri, 22 Mar 2024 21:11:32 +0100 Subject: [PATCH] Send packet proof before delivery processing --- LXMF/LXMRouter.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/LXMF/LXMRouter.py b/LXMF/LXMRouter.py index f7701bf..db19916 100644 --- a/LXMF/LXMRouter.py +++ b/LXMF/LXMRouter.py @@ -997,8 +997,9 @@ class LXMRouter: RNS.log("Error while retrieving physical link stats for LXMF delivery packet: "+str(e), RNS.LOG_ERROR) phy_stats = {"rssi": packet.rssi, "snr": packet.snr, "q": packet.q} - if self.lxmf_delivery(lxmf_data, packet.destination_type, phy_stats=phy_stats): - packet.prove() + + packet.prove() + self.lxmf_delivery(lxmf_data, packet.destination_type, phy_stats=phy_stats) except Exception as e: RNS.log("Exception occurred while parsing incoming LXMF data.", RNS.LOG_ERROR)