summaryrefslogtreecommitdiff
path: root/plugins/FavContacts/src/http_api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FavContacts/src/http_api.cpp')
-rw-r--r--plugins/FavContacts/src/http_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/FavContacts/src/http_api.cpp b/plugins/FavContacts/src/http_api.cpp
index cc84b08adc..d71e1c536d 100644
--- a/plugins/FavContacts/src/http_api.cpp
+++ b/plugins/FavContacts/src/http_api.cpp
@@ -52,7 +52,7 @@ public:
int hContact;
sscanf(s, "/fav/open/%d", &hContact);
- if (CallService(MS_DB_CONTACT_IS, hContact, 0))
+ if (db_is_contact(hContact))
CallServiceSync(MS_FAVCONTACTS_OPEN_CONTACT, hContact, 0);
}