mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-01 19:16:08 -04:00
Make ratchet IDs available to applications
This commit is contained in:
parent
fe054fd03c
commit
3a580e74de
5 changed files with 28 additions and 15 deletions
|
@ -775,6 +775,7 @@ class Link:
|
|||
should_query = False
|
||||
if packet.context == RNS.Packet.NONE:
|
||||
plaintext = self.decrypt(packet.data)
|
||||
packet.ratchet_id = self.link_id
|
||||
if plaintext != None:
|
||||
if self.callbacks.packet != None:
|
||||
thread = threading.Thread(target=self.callbacks.packet, args=(plaintext, packet))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue