Getting phonebook size is related to recognizing contacts by their id
prefixes. Previously it was "contact: " and has been changed to
"urn:uuid:". This patch fixes it and allows to get valid phonebook size.
---
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 b204493..99848e3 100644
--- a/plugins/phonebook-tracker.c
+++ b/plugins/phonebook-tracker.c
@@ -809,7 +809,7 @@
"SELECT COUNT(?c) " \
"WHERE {" \
"?c a nco:PersonContact ." \
- "FILTER (regex(str(?c), \"contact:\"))" \
+ "FILTER (regex(str(?c), \"urn:uuid:\"))" \
"}"
#define MISSED_CALLS_COUNT_QUERY \
--
1.6.3.3
Hi Rafal,
On Mon, Feb 28, 2011, Rafal Michalski wrote:
> Getting phonebook size is related to recognizing contacts by their id
> prefixes. Previously it was "contact: " and has been changed to
> "urn:uuid:". This patch fixes it and allows to get valid phonebook size.
> ---
> plugins/phonebook-tracker.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
I seem to have missed this one. It's now pushed upstream.
Johan