mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-11-26 15:30:18 +00:00
Only send proof if link is still active
This commit is contained in:
parent
8f0151fed6
commit
8168d9bb92
@ -808,6 +808,7 @@ class Link:
|
|||||||
else:
|
else:
|
||||||
plaintext = self.decrypt(packet.data)
|
plaintext = self.decrypt(packet.data)
|
||||||
self._channel._receive(plaintext)
|
self._channel._receive(plaintext)
|
||||||
|
if self.status == Link.ACTIVE:
|
||||||
packet.prove()
|
packet.prove()
|
||||||
|
|
||||||
elif packet.packet_type == RNS.Packet.PROOF:
|
elif packet.packet_type == RNS.Packet.PROOF:
|
||||||
|
Loading…
Reference in New Issue
Block a user