diff options
Diffstat (limited to 'plugins/New_GPG/src/icons.cpp')
-rw-r--r-- | plugins/New_GPG/src/icons.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/New_GPG/src/icons.cpp b/plugins/New_GPG/src/icons.cpp index 2770d28b64..dffaad03bd 100644 --- a/plugins/New_GPG/src/icons.cpp +++ b/plugins/New_GPG/src/icons.cpp @@ -50,9 +50,9 @@ void setClistIcon(MCONTACT hContact) extern HANDLE g_hCLIcon;
MCONTACT hMC = hContact;
if(db_mc_isSub(hContact))
- hMC = metaGetContact(hContact);
+ hMC = db_mc_getMeta(hContact);
else if(metaIsProtoMetaContacts(hContact))
- hMC = metaGetContact(hContact);
+ hMC = db_mc_getMeta(hContact);
const char *szIconId = (enabled) ? "secured" : NULL;
ExtraIcon_SetIcon(g_hCLIcon, hContact, szIconId);
if(hMC)
@@ -65,9 +65,9 @@ void setSrmmIcon(MCONTACT h) bool enabled = isContactSecured(hContact);
MCONTACT hMC = NULL;
if(db_mc_isSub(hContact))
- hMC = metaGetContact(hContact);
+ hMC = db_mc_getMeta(hContact);
else if(metaIsProtoMetaContacts(hContact))
- hMC = metaGetContact(hContact);
+ hMC = db_mc_getMeta(hContact);
StatusIconData sid = { sizeof(sid) };
sid.szModule = szGPGModuleName;
|