diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-06-21 12:02:15 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-06-21 12:02:15 +0000 |
commit | 4c403d149ee3f413af5e5f7ca77b9dbd5922281a (patch) | |
tree | b7063f542604acd7a26ed574737e27db1baed57d | |
parent | 1b6c4e6e4a16ed49570e1787641e5af79dba23f7 (diff) |
TabSRMM: fix not needed sound
git-svn-id: http://svn.miranda-ng.org/main/trunk@17014 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/TabSRMM/src/generic_msghandlers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp index 249134d490..8faac1dc06 100644 --- a/plugins/TabSRMM/src/generic_msghandlers.cpp +++ b/plugins/TabSRMM/src/generic_msghandlers.cpp @@ -1649,7 +1649,7 @@ void TSAPI DM_EventAdded(TWindowData *dat, WPARAM hContact, LPARAM lParam) } // play a sound - if (dbei.eventType == EVENTTYPE_MESSAGE && !(dbei.flags & (DBEF_SENT))) + if (!bDisableNotify && dbei.eventType == EVENTTYPE_MESSAGE && !(dbei.flags & (DBEF_SENT))) PostMessage(hwndDlg, DM_PLAYINCOMINGSOUND, 0, 0); if (dat->pWnd) |