From 3e00af6e0b04bca9e5398f250c7dd4280da608cc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 28 Jan 2023 19:58:25 +0300 Subject: IRC: fix for event broadcasting --- plugins/Scriver/src/msgdialog.cpp | 2 -- plugins/TabSRMM/src/msgdlgother.cpp | 1 - 2 files changed, 3 deletions(-) (limited to 'plugins') diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index abf97224a9..3618b9a1aa 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -1087,8 +1087,6 @@ INT_PTR CMsgDialog::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) if (isChat()) { SetFocus(m_message.GetHwnd()); - g_chatApi.SetActiveSession(m_si); - if (db_get_w(m_hContact, m_si->pszModule, "ApparentMode", 0) != 0) db_set_w(m_hContact, m_si->pszModule, "ApparentMode", 0); if (g_clistApi.pfnGetEvent(m_hContact, 0)) diff --git a/plugins/TabSRMM/src/msgdlgother.cpp b/plugins/TabSRMM/src/msgdlgother.cpp index 94f019b140..f2045b77df 100644 --- a/plugins/TabSRMM/src/msgdlgother.cpp +++ b/plugins/TabSRMM/src/msgdlgother.cpp @@ -2756,7 +2756,6 @@ void CMsgDialog::UpdateWindowState(UINT msg) } if (m_si) { - g_chatApi.SetActiveSession(m_si); m_hTabIcon = m_hTabStatusIcon; if (db_get_w(m_si->hContact, m_si->pszModule, "ApparentMode", 0) != 0) -- cgit v1.2.3