From 7b4db96ca6fcb1a960f055fd60c4177ccf2b543e Mon Sep 17 00:00:00 2001 From: liamcottle Date: Wed, 11 Sep 2024 20:55:11 +1200 Subject: [PATCH] fix display names for lxmf conversations --- meshchat.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meshchat.py b/meshchat.py index 789268d..cef37bd 100644 --- a/meshchat.py +++ b/meshchat.py @@ -1858,7 +1858,8 @@ class ReticulumMeshChat: # we will return this as the conversation name if lxmf_announce is not None and lxmf_announce.app_data is not None: try: - return base64.b64decode(lxmf_announce.app_data).decode("utf-8") + app_data_bytes = base64.b64decode(lxmf_announce.app_data) + return LXMF.display_name_from_app_data(app_data_bytes) except: pass