diff options
author | Lukasz Pawlik <lucas.pawlik@gmail.com> | 2011-03-02 14:25:55 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2011-03-04 15:46:23 -0300 |
commit | d760681744ee7dadcda693b8578654504231db12 (patch) | |
tree | 586a555c42f05e85d46c81c6f1ba2ec5d8c27f7f /plugins/phonebook-tracker.c | |
parent | b4099286ee0f323d3131379ea11cc993b92a411f (diff) | |
download | obexd-d760681744ee7dadcda693b8578654504231db12.tar.gz |
Fix handling owner data in phonebook pull
This patch fix handling "empty" phone owner data in phonebook pull via
PBAP. Previously owner vCard was always present as a first on list in
phonebook pull results even if it was empty. This patch fix this and
owner vCard will not be present in pulled phonebook.
Diffstat (limited to 'plugins/phonebook-tracker.c')
-rw-r--r-- | plugins/phonebook-tracker.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c index 2cd10de..e71ec7b 100644 --- a/plugins/phonebook-tracker.c +++ b/plugins/phonebook-tracker.c @@ -137,6 +137,7 @@ "WHERE {" \ " ?_contact a nco:PersonContact ." \ " OPTIONAL {?_contact nco:hasAffiliation ?_role .}" \ +" FILTER (regex(str(?_contact), \"urn:uuid:\"))" \ "}" \ "ORDER BY tracker:id(?_contact)" |