diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-09 20:10:11 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-09 20:10:11 +0000 |
commit | d808595a83280e6232923143efeb1851c8e33423 (patch) | |
tree | 8275a67ba78b2c77d9ab7528296b8438e5616de0 /plugins/FingerprintNG/src/fingerprint.cpp | |
parent | a598ca4e2fbdfecddca6e06afdf0556da1387ccc (diff) |
... and in the beginning too
git-svn-id: http://svn.miranda-ng.org/main/trunk@8526 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/FingerprintNG/src/fingerprint.cpp')
-rw-r--r-- | plugins/FingerprintNG/src/fingerprint.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/FingerprintNG/src/fingerprint.cpp b/plugins/FingerprintNG/src/fingerprint.cpp index c2a3b44f84..8d41afac4a 100644 --- a/plugins/FingerprintNG/src/fingerprint.cpp +++ b/plugins/FingerprintNG/src/fingerprint.cpp @@ -169,6 +169,11 @@ int __fastcall ApplyFingerprintImage(MCONTACT hContact, LPTSTR szMirVer) if (arMonitoredWindows.getIndex((HANDLE)hContact) != -1)
SetSrmmIcon(hContact, szMirVer);
+
+ MCONTACT hMeta = db_mc_getMeta(hContact);
+ if (hMeta && CallService(MS_MC_GETDEFAULTCONTACT, hMeta, 0) == hContact)
+ db_set_ts(hMeta, META_PROTO, "MirVer", szMirVer);
+
return 0;
}
|