From 6d3d6bdaf0b638b24685884e62140c4aa63b954e Mon Sep 17 00:00:00 2001 From: Radoslaw Jablonski Date: Wed, 20 Jul 2011 11:58:24 +0200 Subject: [PATCH] obexd: Show owner vCard in phonebook pb pull Previously 'owner' vCard was visible in vCard listing of 'pb' but not in result of pull 'pb' phonebook. Due to that, vCard listing and pull operations were returning different number of results (also return values of PhonebookSize request were inconsistent) --- obexd/plugins/phonebook-tracker.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/obexd/plugins/phonebook-tracker.c b/obexd/plugins/phonebook-tracker.c index d1f4cd768..29dd05cb2 100644 --- a/obexd/plugins/phonebook-tracker.c +++ b/obexd/plugins/phonebook-tracker.c @@ -139,7 +139,6 @@ "WHERE {" \ " ?_contact a nco:PersonContact ." \ " OPTIONAL {?_contact nco:hasAffiliation ?_role .}" \ -" FILTER (regex(str(?_contact), \"urn:uuid:\"))" \ "}" \ "ORDER BY tracker:id(?_contact)" @@ -361,7 +360,6 @@ COMBINED_CONSTRAINT \ "SELECT COUNT(?c) " \ "WHERE {" \ "?c a nco:PersonContact ." \ - "FILTER (regex(str(?c), \"urn:uuid:\"))" \ "}" #define MISSED_CALLS_COUNT_QUERY \ -- 2.47.3