From b991a53a31316bcf82d63d9f8bb9bbd3ac148478 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Sat, 15 May 2021 21:09:14 +0200 Subject: [PATCH] Auto-configure destination default app data to LXMF display name --- LXMF/LXMF.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/LXMF/LXMF.py b/LXMF/LXMF.py index 508a9de..f4f91c8 100644 --- a/LXMF/LXMF.py +++ b/LXMF/LXMF.py @@ -483,6 +483,9 @@ class LXMRouter: delivery_destination.link_established_callback(self.delivery_link_established) delivery_destination.display_name = display_name + if display_name != None: + delivery_destination.set_default_app_data(display_name.encode("utf-8")) + self.delivery_destinations[delivery_destination.hash] = delivery_destination return delivery_destination