From 10f115b6d4050443d559b82bc54d5f030c248a3e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 26 May 2018 18:45:07 +0300 Subject: no, this idea was wrong... --- src/core/stdmsg/src/msgdialog.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index df51991328..a0828b0c32 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -1156,12 +1156,10 @@ INT_PTR CSrmmWindow::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam) UpdateLastMessage(); } - if (isActive) { - if (hDbEvent != m_hDbEventFirst && db_event_next(m_hContact, hDbEvent) == 0) - StreamInEvents(hDbEvent, 1, 1); - else - SendMessage(m_hwnd, DM_REMAKELOG, 0, 0); - } + if (hDbEvent != m_hDbEventFirst && db_event_next(m_hContact, hDbEvent) == 0) + StreamInEvents(hDbEvent, 1, 1); + else + SendMessage(m_hwnd, DM_REMAKELOG, 0, 0); // Flash window *only* for messages, not for custom events if (isMessage && !isSent) { -- cgit v1.2.3