From c8ddd7cbc25648d7a6b6f6379e637b917bd79322 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Tue, 12 Aug 2014 20:40:37 +0000 Subject: Only update statusbar for message events git-svn-id: http://svn.miranda-ng.org/main/trunk@10174 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdmsg/src/msgdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp index 56b6fb43c4..30222e6415 100644 --- a/src/core/stdmsg/src/msgdialog.cpp +++ b/src/core/stdmsg/src/msgdialog.cpp @@ -823,7 +823,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP do { DBEVENTINFO dbei = { sizeof(dbei) }; db_event_get(hdbEvent, &dbei); - if ((dbei.eventType == EVENTTYPE_MESSAGE || DbEventIsForMsgWindow(&dbei)) && !(dbei.flags & DBEF_SENT)) { + if ((dbei.eventType == EVENTTYPE_MESSAGE) && !(dbei.flags & DBEF_SENT)) { dat->lastMessage = dbei.timestamp; PostMessage(hwndDlg, DM_UPDATELASTMESSAGE, 0, 0); break; @@ -1316,7 +1316,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP else SkinPlaySound("RecvMsgInactive"); } - if ((isMessage || DbEventIsForMsgWindow(&dbei)) && dat->hwndStatus && !isSent) { + if (isMessage && !isSent) { dat->lastMessage = dbei.timestamp; SendMessage(hwndDlg, DM_UPDATELASTMESSAGE, 0, 0); } -- cgit v1.2.3