From f60c78abfbd5f279b30de729046b805bba8e00b0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 7 Apr 2018 20:14:21 +0300 Subject: Proto_GetStatus is used everywhere instead of PS_GETSTATUS --- plugins/SecureIM/src/crypt_check.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/SecureIM') diff --git a/plugins/SecureIM/src/crypt_check.cpp b/plugins/SecureIM/src/crypt_check.cpp index 82dbb7ad1c..d85f9e0e2b 100644 --- a/plugins/SecureIM/src/crypt_check.cpp +++ b/plugins/SecureIM/src/crypt_check.cpp @@ -105,7 +105,7 @@ bool isContactInvisible(MCONTACT hContact) switch (db_get_w(hContact, p->proto->name, "ApparentMode", 0)) { case 0: - return CallProtoService(p->proto->name, PS_GETSTATUS, 0, 0) == ID_STATUS_INVISIBLE; + return Proto_GetStatus(p->proto->name) == ID_STATUS_INVISIBLE; case ID_STATUS_ONLINE: return false; case ID_STATUS_OFFLINE: -- cgit v1.2.3