Fix phonebook size issue
PATCH 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 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
plugins/phonebook-tracker.c +1 -1
@@ -867,7 +867,7 @@ "} "#define CONTACTS_COUNT_QUERY \ - "SELECT COUNT(?c) " \ + "SELECT COUNT(?c) - 1 " \ "WHERE {" \ "?c a nco:PersonContact ." \ "FILTER (regex(str(?c), \"contact:\") || " \
Signature · 1 line
1.6.3.3