mirror of
https://github.com/markqvist/NomadNet.git
synced 2025-05-03 14:45:07 -04:00
Fix invalid LXMF link handling in browser
This commit is contained in:
parent
289136a632
commit
dc43bc6a22
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
import RNS
|
||||
import LXMF
|
||||
import os
|
||||
import time
|
||||
import urwid
|
||||
|
@ -252,7 +253,7 @@ class Browser:
|
|||
|
||||
display_name = None
|
||||
if display_name_data != None:
|
||||
display_name = display_name_data.decode("utf-8")
|
||||
display_name = LXMF.display_name_from_app_data(display_name_data)
|
||||
|
||||
if not source_hash_text in [c[0] for c in existing_conversations]:
|
||||
entry = DirectoryEntry(bytes.fromhex(source_hash_text), display_name=display_name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue