summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-26 18:45:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-26 18:45:07 +0300
commit10f115b6d4050443d559b82bc54d5f030c248a3e (patch)
tree8d6ffb34b34bf2c1320a1e08cd33e170652584bb /src/core
parentd6f7b234b57f490779af6caece8e9fdc51af91c2 (diff)
no, this idea was wrong...
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp10
1 files changed, 4 insertions, 6 deletions
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) {