diff options
author | Piotr Piastucki <leech.miranda@gmail.com> | 2015-09-14 23:55:30 +0000 |
---|---|---|
committer | Piotr Piastucki <leech.miranda@gmail.com> | 2015-09-14 23:55:30 +0000 |
commit | b4e932fe7025e034972ae3adbb04c61ed78f0120 (patch) | |
tree | 5df2a884c7020e2bf2a099ad93f1be236adee90b /protocols/MSN/src | |
parent | 5eba89621355c33785278d92b88bb4168475d72c (diff) |
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
Diffstat (limited to 'protocols/MSN/src')
-rw-r--r-- | protocols/MSN/src/msn_proto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|