mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-17 13:20:25 -04:00
Node announce handling.
This commit is contained in:
parent
862f4835c7
commit
ae3d2ef802
5 changed files with 52 additions and 7 deletions
|
@ -154,8 +154,6 @@ class NomadNetworkApp:
|
|||
app_data=None
|
||||
)
|
||||
|
||||
RNS.Transport.register_announce_handler(nomadnet.Conversation)
|
||||
|
||||
RNS.log("LXMF Router ready to receive on: "+RNS.prettyhexrep(self.lxmf_destination.hash))
|
||||
|
||||
self.directory = nomadnet.Directory.Directory(self)
|
||||
|
@ -165,6 +163,9 @@ class NomadNetworkApp:
|
|||
else:
|
||||
self.node = None
|
||||
|
||||
RNS.Transport.register_announce_handler(nomadnet.Conversation)
|
||||
RNS.Transport.register_announce_handler(nomadnet.Directory)
|
||||
|
||||
nomadnet.ui.spawn(self.uimode)
|
||||
|
||||
def set_display_name(self, display_name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue