From 1e057ba2bb17f1a01ad33322cf61468c247d0b65 Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Wed, 9 Jun 2010 15:39:18 -0300 Subject: [PATCH] obexd: Fix including calls in the main phonebook We should only include contacts from the user in the main phonebook. --- obexd/plugins/phonebook-tracker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c index 1c41f5f22..8fb618dea 100644 --- a/obexd/plugins/phonebook-tracker.c +++ b/obexd/plugins/phonebook-tracker.c @@ -52,7 +52,7 @@ "nco:postalcode(?p) nco:country(?p) \"NOTACALL\" \"false\" " \ "\"false\" " \ "WHERE { " \ - "?c a nco:Contact . " \ + "?c a nco:PersonContact . " \ "OPTIONAL { ?c nco:hasPhoneNumber ?h . } " \ "OPTIONAL { ?c nco:hasEmailAddress ?e . } " \ "OPTIONAL { ?c nco:hasPostalAddress ?p . } " \ @@ -68,7 +68,7 @@ "nco:nameHonorificPrefix(?c) nco:nameHonorificSuffix(?c) " \ "nco:phoneNumber(?h) " \ "WHERE { " \ - "?c a nco:Contact . " \ + "?c a nco:PersonContact . " \ "OPTIONAL { ?c nco:hasPhoneNumber ?h . } " \ "}" -- 2.47.3