From 3959cd17048647e4b7ce9f55680302bac1fdae1b Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Fri, 7 Sep 2012 12:27:18 +0000 Subject: MyDetails: ignore Metacontacts and NewsAggregator git-svn-id: http://svn.miranda-ng.org/main/trunk@1543 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MyDetails/src/data.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'plugins/MyDetails') diff --git a/plugins/MyDetails/src/data.cpp b/plugins/MyDetails/src/data.cpp index 7dc3831348..5b80f138ef 100644 --- a/plugins/MyDetails/src/data.cpp +++ b/plugins/MyDetails/src/data.cpp @@ -74,8 +74,11 @@ Protocol::Protocol(const char *aName, const TCHAR* descr) // Load services int caps = CallProtoService(name, PS_GETCAPS, PFLAGNUM_1, 0); - valid = (caps & PF1_IM) == PF1_IM && strcmp(aName, "MetaContacts"); - if ( !valid) + if ((caps & PF1_IM) && !(!strcmp(aName, "MetaContacts") || !strcmp(aName, "NewsAggr"))) + valid = true; + else + valid = false; + if (!valid) return; can_have_listening_to = (ProtoServiceExists(name, PS_SET_LISTENINGTO) != 0); -- cgit v1.2.3