From 0e53afe70be1876fd69bc171f81b22869f462b0e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Aug 2014 18:13:20 +0000 Subject: - 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 --- plugins/TabSRMM/src/contactcache.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/TabSRMM/src/contactcache.cpp') 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(); -- cgit v1.2.3