mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-05-31 04:24:32 -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
|
||||
def packet_filter(packet):
|
||||
# TODO: Think long and hard about this.
|
||||
# Is it even strictly necessary with the current
|
||||
# transport rules?
|
||||
|
||||
# If connected to a shared instance, it will handle
|
||||
# packet filtering
|
||||
if Transport.owner.is_connected_to_shared_instance: return True
|
||||
|
||||
# Filter packets intended for other transport instances
|
||||
|
@ -2779,7 +2777,6 @@ class Transport:
|
|||
Transport.reverse_table = {}
|
||||
Transport.link_table = {}
|
||||
Transport.held_announces = {}
|
||||
Transport.announce_handlers = []
|
||||
Transport.tunnels = {}
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue