summaryrefslogtreecommitdiff
path: root/plugins/AVS
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-04-08 17:54:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-04-08 17:54:19 +0000
commit78dc54f9e392b45492a2b726d6268c41f594eb41 (patch)
treefa1180153a3ac3610f22ad9f7b002d2a348c2ea5 /plugins/AVS
parentafa73da4259ee9a00e60570031f94338542636d8 (diff)
bunch of mc related fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8892 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS')
-rw-r--r--plugins/AVS/src/cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AVS/src/cache.cpp b/plugins/AVS/src/cache.cpp
index 93aa9abe1d..ec4171836f 100644
--- a/plugins/AVS/src/cache.cpp
+++ b/plugins/AVS/src/cache.cpp
@@ -153,7 +153,7 @@ void NotifyMetaAware(MCONTACT hContact, CacheNode *node = NULL, AVATARCACHEENTRY
NotifyEventHooks(hEventChanged, hContact, (LPARAM)ace);
if ((node->dwFlags & MC_ISSUBCONTACT) && db_get_b(NULL, META_PROTO, "Enabled", 0)) {
- MCONTACT hMasterContact = (MCONTACT)db_get_dw(hContact, META_PROTO, "Handle", 0);
+ MCONTACT hMasterContact = db_mc_getMeta(hContact);
if (hMasterContact && (MCONTACT)CallService(MS_MC_GETMOSTONLINECONTACT, (WPARAM)hMasterContact, 0) == hContact &&
!db_get_b(hMasterContact, "ContactPhoto", "Locked", 0))
NotifyEventHooks(hEventChanged, (WPARAM)hMasterContact, (LPARAM)ace);