mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-12-17 06:44:21 +01:00
Node announce handling.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user