summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdlgother.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-10-14 16:43:53 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-10-14 16:43:53 +0300
commit64b53b1c28ffa353ff2f0c0a01405f9afc2b7bf1 (patch)
tree09f966d418bd50c8d63b52ec7896462803dc6294 /plugins/TabSRMM/src/msgdlgother.cpp
parent29af90eb23768e9eb2c29091fefaaa10c78ff8cd (diff)
common group chat code moved to mir_app
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgother.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdlgother.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp
index 982ab1cdcb..f9d345a4d8 100644
--- a/plugins/TabSRMM/src/msgdlgother.cpp
+++ b/plugins/TabSRMM/src/msgdlgother.cpp
@@ -2590,10 +2590,7 @@ void CMsgDialog::UpdateWindowState(UINT msg)
if (m_si) {
m_hTabIcon = m_hTabStatusIcon;
- if (db_get_w(m_si->hContact, m_si->pszModule, "ApparentMode") != 0)
- db_unset(m_si->hContact, m_si->pszModule, "ApparentMode");
- if (Clist_GetEvent(m_si->hContact, 0))
- Clist_RemoveEvent(m_si->hContact, GC_FAKE_EVENT);
+ m_si->markRead(true);
UpdateTitle();
m_hTabIcon = m_hTabStatusIcon;