diff --git a/meshchat.py b/meshchat.py index f3198df..75f49ab 100644 --- a/meshchat.py +++ b/meshchat.py @@ -118,7 +118,7 @@ class ReticulumMeshChat: # set a callback for when an lxmf message is received self.message_router.register_delivery_callback(self.on_lxmf_delivery) - # set a callback for when an lxmf announce is received + # handle received announces based on aspect RNS.Transport.register_announce_handler(AnnounceHandler("call.audio", self.on_audio_call_announce_received)) RNS.Transport.register_announce_handler(AnnounceHandler("lxmf.delivery", self.on_lxmf_announce_received)) RNS.Transport.register_announce_handler(AnnounceHandler("lxmf.propagation", self.on_lxmf_propagation_announce_received))