summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/metacontacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/New_GPG/src/metacontacts.cpp')
-rw-r--r--plugins/New_GPG/src/metacontacts.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/plugins/New_GPG/src/metacontacts.cpp b/plugins/New_GPG/src/metacontacts.cpp
index 7db1725be3..5a7fa5a031 100644
--- a/plugins/New_GPG/src/metacontacts.cpp
+++ b/plugins/New_GPG/src/metacontacts.cpp
@@ -16,15 +16,6 @@
#include "commonheaders.h"
-bool metaIsProtoMetaContacts(MCONTACT hContact)
-{
- LPSTR proto = GetContactProto(hContact);
- if(proto && strcmp(proto,"MetaContacts") == 0)
- return true;
-
- return false;
-}
-
bool metaIsDefaultSubContact(MCONTACT hContact)
{
return db_mc_getDefault(db_mc_getMeta(hContact)) == hContact;
@@ -32,7 +23,7 @@ bool metaIsDefaultSubContact(MCONTACT hContact)
MCONTACT metaGetMostOnline(MCONTACT hContact)
{
- if(metaIsProtoMetaContacts(hContact))
+ if(db_mc_isMeta(hContact))
return db_mc_getMostOnline(hContact);
return NULL;
}