mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-07-22 14:50:35 -04:00
Fixed adding conversation with unknown peer
This commit is contained in:
parent
698b97f78c
commit
71680e7329
1 changed files with 5 additions and 4 deletions
|
@ -146,6 +146,7 @@ class Directory:
|
|||
self.directory_entries[entry.source_hash] = entry
|
||||
|
||||
identity = RNS.Identity.recall(entry.source_hash)
|
||||
if identity != None:
|
||||
associated_node = RNS.Destination.hash_from_name_and_identity("nomadnetwork.node", identity)
|
||||
if associated_node in self.directory_entries:
|
||||
node_entry = self.directory_entries[associated_node]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue