summaryrefslogtreecommitdiff
path: root/src/contacts-store.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/contacts-store.vala')
-rw-r--r--src/contacts-store.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/contacts-store.vala b/src/contacts-store.vala
index 367f35b..4a933bd 100644
--- a/src/contacts-store.vala
+++ b/src/contacts-store.vala
@@ -48,6 +48,10 @@ public class Contacts.Store {
public TreeModel model { get { return list_store; } }
private bool apply_filter (Contact contact) {
+ // Don't show the user itself
+ if (contact.individual.is_user)
+ return false;
+
// Filter out pure key-file persona individuals as these are
// not very interesting
var personas = contact.individual.personas;