mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-07-05 00:03:38 -07:00
Refactored packet type naming
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user