2011-02-28 12:03:52

by Rafal Michalski

[permalink] [raw]
Subject: [PATCH] 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(-)

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



2011-03-01 19:02:26

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH] Adjust prefix of contact id for pulling single vCard

Hi Rafal,

On Mon, Feb 28, 2011, Rafal Michalski wrote:
> 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