Skip to contentSkip to conversation

Adjust prefix of contact id for pulling single vCard

PATCH In review Rafal Michalski 2 participants 2 messages Feb 28, 2011 – Mar 1, 2011 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Adjust prefix of contact id for pulling single vCard

Pulling single vCard is related to recognizing it by prefix of contact id. Previously it was "contact: " and has been changed to "urn:uuid:". This patch fixes it and allows to pull valid single vCard.

---
 plugins/phonebook-tracker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
plugins/phonebook-tracker.c +1 -1
index 9963aab..b204493 100644
@@ -73,7 +73,7 @@
 #define COL_SENT 20
 #define COL_ANSWERED 21
 #define CONTACTS_ID_COL 22
-#define CONTACT_ID_PREFIX "contact:"
+#define CONTACT_ID_PREFIX "urn:uuid:"
 
 #define FAX_NUM_TYPE "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#FaxNumber"
 #define MOBILE_NUM_TYPE "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#CellPhoneNumber"
Signature · 1 line
1.6.3.3
#1 lore raw

Hi Rafal,

Quoted 6 lines · Rafal Michalski

Pulling single vCard is related to recognizing it by prefix of contact id. Previously it was "contact: " and has been changed to "urn:uuid:". This patch fixes it and allows to pull valid single vCard.

---
 plugins/phonebook-tracker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Pushed upstream. Thanks.

Johan