Skip to content

Commit

Permalink
Fix phonebook size issue
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
michalskir authored and Johan Hedberg committed Jan 3, 2011
1 parent 68d4571 commit 5d63bfc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/phonebook-tracker.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 5d63bfc

Please sign in to comment.