mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-06-06 22:18:52 -04:00
Fixed announce handlers not triggering after shared instance disappearance/reappearance
This commit is contained in:
parent
efa512be32
commit
8b13d6e08b
1 changed files with 2 additions and 5 deletions
|
@ -1089,10 +1089,8 @@ class Transport:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def packet_filter(packet):
|
def packet_filter(packet):
|
||||||
# TODO: Think long and hard about this.
|
# If connected to a shared instance, it will handle
|
||||||
# Is it even strictly necessary with the current
|
# packet filtering
|
||||||
# transport rules?
|
|
||||||
|
|
||||||
if Transport.owner.is_connected_to_shared_instance: return True
|
if Transport.owner.is_connected_to_shared_instance: return True
|
||||||
|
|
||||||
# Filter packets intended for other transport instances
|
# Filter packets intended for other transport instances
|
||||||
|
@ -2779,7 +2777,6 @@ class Transport:
|
||||||
Transport.reverse_table = {}
|
Transport.reverse_table = {}
|
||||||
Transport.link_table = {}
|
Transport.link_table = {}
|
||||||
Transport.held_announces = {}
|
Transport.held_announces = {}
|
||||||
Transport.announce_handlers = []
|
|
||||||
Transport.tunnels = {}
|
Transport.tunnels = {}
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue