From b4e932fe7025e034972ae3adbb04c61ed78f0120 Mon Sep 17 00:00:00 2001 From: Piotr Piastucki Date: Mon, 14 Sep 2015 23:55:30 +0000 Subject: MSN: Do not unhide contact on received message if subcontact of metacontact so that users can intentionally hide subcontacts to get clean contact list. git-svn-id: http://svn.miranda-ng.org/main/trunk@15357 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp index 69bd39aa5d..762a79f40c 100644 --- a/protocols/MSN/src/msn_proto.cpp +++ b/protocols/MSN/src/msn_proto.cpp @@ -810,7 +810,7 @@ int __cdecl CMsnProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT* pre) if (db_get_static(hContact, m_szModuleName, "wlid", tEmail, sizeof(tEmail))) db_get_static(hContact, m_szModuleName, "e-mail", tEmail, sizeof(tEmail)); - if (Lists_IsInList(LIST_FL, tEmail)) + if (Lists_IsInList(LIST_FL, tEmail) && db_get_b(hContact, "MetaContacts", "IsSubcontact", 0) == 0) db_unset(hContact, "CList", "Hidden"); return Proto_RecvMessage(hContact, pre); -- cgit v1.2.3