diff options
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msgdlgutils.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index 7a82c97bcf..8863726e61 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -2210,8 +2210,11 @@ void TSAPI GetMyNick(TWindowData *dat) mir_free(ci.pszVal);
}
-HICON TSAPI MY_GetContactIcon(const TWindowData *dat)
+HICON TSAPI MY_GetContactIcon(const TWindowData *dat, LPCSTR szSetting)
{
+ int bUseMeta = (szSetting == NULL) ? false : M.GetByte(szSetting, true);
+ if (bUseMeta)
+ return LoadSkinnedProtoIcon(dat->cache->getProto(), dat->cache->getStatus());
return LoadSkinnedProtoIcon(dat->cache->getActiveProto(), dat->cache->getActiveStatus());
}
|