From bcce699a176c52da83e7bb6fb588038df9af926a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 3 Mar 2014 20:16:16 +0000 Subject: "MetaContacts Hidden Group" removed forever git-svn-id: http://svn.miranda-ng.org/main/trunk@8389 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db3x_mmap/src/dbcontacts.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/Db3x_mmap/src') diff --git a/plugins/Db3x_mmap/src/dbcontacts.cpp b/plugins/Db3x_mmap/src/dbcontacts.cpp index d05dac5555..0f3027afb4 100644 --- a/plugins/Db3x_mmap/src/dbcontacts.cpp +++ b/plugins/Db3x_mmap/src/dbcontacts.cpp @@ -263,7 +263,7 @@ void CDb3Mmap::FillContacts() DBCachedContact *cc = m_cache->AddContactToCache(dwContactID); cc->dwDriverData = dwOffset; CheckProto(cc, ""); - + DBVARIANT dbv; dbv.type = DBVT_DWORD; cc->nSubs = (0 != GetContactSetting(dwContactID, META_PROTO, "NumContacts", &dbv)) ? -1 : dbv.dVal; if (cc->nSubs != -1) { @@ -286,7 +286,7 @@ void CDb3Mmap::FillContacts() } cc->nDefault = (0 != GetContactSetting(dwContactID, META_PROTO, "Default", &dbv)) ? -1 : dbv.dVal; cc->parentID = (0 != GetContactSetting(dwContactID, META_PROTO, "ParentMeta", &dbv)) ? NULL : dbv.dVal; - + // whether we need conversion or not if (!GetContactSetting(dwContactID, META_PROTO, "MetaID", &dbv)) arMetas.insert((void*)dwContactID); @@ -312,7 +312,6 @@ void CDb3Mmap::FillContacts() // wipe out old data from subcontacts DeleteContactSetting(cc->pSubs[k], META_PROTO, "ContactNumber"); - DeleteContactSetting(cc->pSubs[k], META_PROTO, "IsSubcontact"); DeleteContactSetting(cc->pSubs[k], META_PROTO, "MetaLink"); } } -- cgit v1.2.3