mirror of
https://github.com/markqvist/LXMF.git
synced 2024-10-01 01:35:36 -04:00
Auto-configure destination default app data to LXMF display name
This commit is contained in:
parent
9ca3fa5be2
commit
b991a53a31
@ -483,6 +483,9 @@ class LXMRouter:
|
|||||||
delivery_destination.link_established_callback(self.delivery_link_established)
|
delivery_destination.link_established_callback(self.delivery_link_established)
|
||||||
delivery_destination.display_name = display_name
|
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
|
self.delivery_destinations[delivery_destination.hash] = delivery_destination
|
||||||
return delivery_destination
|
return delivery_destination
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user