Thread (2 messages) flat view 2 messages, 2 authors, 2011-03-01
STALE5634d

[PATCH] Adjust prefix of contact id for pulling single vCard

From: Rafal Michalski <hidden>
Date: 2011-02-28 12:03:52
Subsystem: the rest · Maintainer: Linus Torvalds

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(-)
diff --git a/plugins/phonebook-tracker.c b/plugins/phonebook-tracker.c
index 9963aab..b204493 100644
--- a/plugins/phonebook-tracker.c
+++ b/plugins/phonebook-tracker.c
@@ -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"
-- 
1.6.3.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help