mirror of
https://github.com/markqvist/LXMF.git
synced 2025-07-29 18:08:39 -04:00
Auto-configure destination default app data to LXMF display name
This commit is contained in:
parent
9ca3fa5be2
commit
b991a53a31
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue