From 6be9b9c1dd00da5ecd33cbc20ece4162ba56c402 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 19 Jul 2014 14:11:25 +0000 Subject: db_mc_tryMeta applied git-svn-id: http://svn.miranda-ng.org/main/trunk@9860 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirandaG15/src/CAppletManager.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'plugins/MirandaG15/src/CAppletManager.cpp') diff --git a/plugins/MirandaG15/src/CAppletManager.cpp b/plugins/MirandaG15/src/CAppletManager.cpp index 4cdd3c4296..2ae86f175b 100644 --- a/plugins/MirandaG15/src/CAppletManager.cpp +++ b/plugins/MirandaG15/src/CAppletManager.cpp @@ -589,7 +589,7 @@ void CAppletManager::HandleEvent(CEvent *pEvent) } pEvent->bLog = pEvent->bNotification; - if(CAppletManager::IsSubContact(pEvent->hContact)) + if(db_mc_isSub(pEvent->hContact)) { pEvent->bLog = false; pEvent->bNotification = false; @@ -755,16 +755,6 @@ void CAppletManager::CancelMessageJob(SMessageJob *pJob) } } -//************************************************************************ -// returns wether or not a contact is a subcontact -//************************************************************************ -bool CAppletManager::IsSubContact(MCONTACT hContact) -{ - if(!db_get_b(0, "MetaContacts", "Enabled", 1)) - return false; - return db_mc_isSub(hContact) != 0; -} - //************************************************************************ // sends typing notifications to the specified contact //************************************************************************ -- cgit v1.2.3