diff options
author | George Hazan <george.hazan@gmail.com> | 2014-08-02 18:13:20 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-08-02 18:13:20 +0000 |
commit | 0e53afe70be1876fd69bc171f81b22869f462b0e (patch) | |
tree | 3248b8a0c5dff670ef91fca3fa35d3103d267eb0 /plugins/TabSRMM/src/contactcache.cpp | |
parent | 542013f69466dfd9f3a564dc5b4a9d3a331ca57c (diff) |
- fixing nicks update in the window's caption;
- fixing the real proto name
git-svn-id: http://svn.miranda-ng.org/main/trunk@10031 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/contactcache.cpp')
-rw-r--r-- | plugins/TabSRMM/src/contactcache.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp index 68078159fd..93fbca70d0 100644 --- a/plugins/TabSRMM/src/contactcache.cpp +++ b/plugins/TabSRMM/src/contactcache.cpp @@ -156,6 +156,9 @@ void CContactCache::updateMeta() m_hSub = db_mc_getSrmmSub(cc->contactID);
m_szMetaProto = GetContactProto(m_hSub);
m_wMetaStatus = (WORD)db_get_w(m_hSub, m_szMetaProto, "Status", ID_STATUS_OFFLINE);
+ PROTOACCOUNT *pa = ProtoGetAccount(m_szMetaProto);
+ if (pa)
+ m_szAccount = pa->tszAccountName;
if (hOldSub != m_hSub) {
updateStatus();
|