diff options
author | George Hazan <ghazan@miranda.im> | 2019-07-10 12:49:01 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-07-10 12:49:01 +0300 |
commit | 4cd32228091528a8809c589ca2d18baf2ed27f1c (patch) | |
tree | 6d036fcf31e76b561a38c6f91f2ba0589bd32e90 /plugins/TabSRMM/src | |
parent | 5b2a0bab5da65abd84e180af0b6c4a6185cc8d93 (diff) |
tabSRMM: fix for status initialiation
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/contactcache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp index d9cb243179..25206acf8d 100644 --- a/plugins/TabSRMM/src/contactcache.cpp +++ b/plugins/TabSRMM/src/contactcache.cpp @@ -67,6 +67,7 @@ void CContactCache::initPhaseTwo() m_isValid = (cc->szProto != nullptr && m_szAccount != nullptr) ? true : false; if (m_isValid) { + m_iStatus = db_get_w(m_hContact, cc->szProto, "Status", ID_STATUS_OFFLINE); m_isMeta = db_mc_isMeta(cc->contactID) != 0; // don't use cc->IsMeta() here if (m_isMeta) updateMeta(); |