diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-29 20:43:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-29 20:43:47 +0000 |
commit | 2a8072247e1df7651416e06a6d0cf8754a88aa95 (patch) | |
tree | 2d55c570c2a81094a639a21263b35ef7ee678dea /plugins/TabSRMM/src/contactcache.h | |
parent | 8e64adb6f676695df87fb3dd697dd5ce3a4a873d (diff) |
return of m_wMetaStatus into tabSRMM cache
git-svn-id: http://svn.miranda-ng.org/main/trunk@9621 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/contactcache.h')
-rw-r--r-- | plugins/TabSRMM/src/contactcache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/contactcache.h b/plugins/TabSRMM/src/contactcache.h index c12879ab4a..0d8626d2bd 100644 --- a/plugins/TabSRMM/src/contactcache.h +++ b/plugins/TabSRMM/src/contactcache.h @@ -73,7 +73,7 @@ struct CContactCache : public MZeroedObject const bool isValid() const { return m_Valid; }
const WORD getStatus() const { return m_wStatus; }
- const WORD getActiveStatus() const { return m_wStatus; }
+ const WORD getActiveStatus() const { return m_isMeta ? m_wMetaStatus : m_wStatus; }
const WORD getOldStatus() const { return m_wOldStatus; }
const TCHAR* getNick() const { return m_szNick; }
const MCONTACT getContact() const { return m_hContact; }
@@ -133,7 +133,7 @@ private: void releaseAlloced();
MCONTACT m_hContact;
- WORD m_wStatus, m_wOldStatus;
+ WORD m_wStatus, m_wOldStatus, m_wMetaStatus;
char *m_szMetaProto;
TCHAR *m_szAccount;
TCHAR m_szNick[80], m_szUIN[80];
|