mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-12-15 08:29:24 -05:00
Refactored packet type naming
This commit is contained in:
parent
8772db6736
commit
dedea6ba11
4 changed files with 6 additions and 6 deletions
|
|
@ -116,7 +116,7 @@ class Destination:
|
|||
if packet.packet_type == RNS.Packet.LINKREQUEST:
|
||||
self.incomingLinkRequest(plaintext, packet)
|
||||
|
||||
if packet.packet_type == RNS.Packet.RESOURCE:
|
||||
if packet.packet_type == RNS.Packet.DATA:
|
||||
if self.callbacks.packet != None:
|
||||
self.callbacks.packet(plaintext, packet)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue