[geary/wip/135-contact-popovers] Don't use the engine contact's display name



commit 69bb0b1d8f353cd257cb555574f07425f0695129
Author: Michael Gratton <mike vee net>
Date:   Sun Mar 17 14:15:33 2019 +1100

    Don't use the engine contact's display name
    
    We want to show either the desktop addresses's name, or the the name
    used by the originator.

 src/client/application/application-contact.vala | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/src/client/application/application-contact.vala b/src/client/application/application-contact.vala
index 124bb01e..a0595db9 100644
--- a/src/client/application/application-contact.vala
+++ b/src/client/application/application-contact.vala
@@ -199,9 +199,6 @@ public class Application.Contact : Geary.BaseObject {
             this.is_trusted = (this.individual.trust_level == PERSONAS);
             this.is_desktop_contact = true;
         } else {
-            if (this.contact != null) {
-                this.display_name = this.contact.real_name;
-            }
             this.is_favourite = false;
             this.is_trusted = false;
             this.is_desktop_contact = false;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]