Fix phonebook size issue
PATCH v2 1/1 Fix phonebook size issue
Previously, when only empty default owner vCard was available, phonebook default size equal to 1 was received and it was always counted when phonebook size requested. This patch makes that it is equal to 0 as it should be and it is not counted anymore when phonebook size requested.
--- plugins/phonebook-tracker.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
plugins/phonebook-tracker.c +1 -2
@@ -870,8 +870,7 @@"SELECT COUNT(?c) " \"WHERE {" \"?c a nco:PersonContact ." \ -"FILTER (regex(str(?c), \"contact:\") || " \ -"regex(str(?c), \"nco#default-contact-me\"))" \ +"FILTER (regex(str(?c), \"contact:\"))" \"}" #define MISSED_CALLS_COUNT_QUERY \
Signature · 1 line
1.6.3.3
Hi Rafal,
Quoted 7 lines · Rafal Michalski
Previously, when only empty default owner vCard was available, phonebook default size equal to 1 was received and it was always counted when phonebook size requested. This patch makes that it is equal to 0 as it should be and it is not counted anymore when phonebook size requested.
--- plugins/phonebook-tracker.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
Pushed upstream. Thanks.
Johan