diff options
author | George Hazan <ghazan@miranda.im> | 2019-03-07 15:29:12 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-03-07 15:29:12 +0300 |
commit | e43e5e9e3ff94b20953c840a819952e4221654fa (patch) | |
tree | b942f39b5d614bb62ee21b18c700507b8b8ed5aa /plugins/TabSRMM/src/sendqueue.cpp | |
parent | ed526dc2746319cc3dbe376e9af20f6a49850687 (diff) |
tabSRMM:
- useless message DM_SETICON replaced with a call of SetIcon;
- fixes #1866 (when sub is changed, tabSRMM doesn't update an avatar in taskbar)
- code cleaning & names conflict resolution
Diffstat (limited to 'plugins/TabSRMM/src/sendqueue.cpp')
-rw-r--r-- | plugins/TabSRMM/src/sendqueue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/sendqueue.cpp b/plugins/TabSRMM/src/sendqueue.cpp index b8571a3bed..ea6daa21ea 100644 --- a/plugins/TabSRMM/src/sendqueue.cpp +++ b/plugins/TabSRMM/src/sendqueue.cpp @@ -441,7 +441,7 @@ int SendQueue::ackMessage(CTabBaseDlg *dat, WPARAM wParam, LPARAM lParam) if (dat) { // "hard" errors are handled differently in multisend. There is no option to retry - once failed, they // are discarded and the user is notified with a small log message. - if (!nen_options.iNoSounds && !(m_pContainer->dwFlags & CNT_NOSOUND)) + if (!nen_options.iNoSounds && !(m_pContainer->m_dwFlags & CNT_NOSOUND)) Skin_PlaySound("SendError"); mir_snwprintf(job.szErrorMsg, TranslateT("Delivery failure: %s"), (wchar_t*)ack->lParam); @@ -485,7 +485,7 @@ int SendQueue::ackMessage(CTabBaseDlg *dat, WPARAM wParam, LPARAM lParam) db_event_setId(dbei.szModule, hNewEvent, (char*)ack->lParam); if (m_pContainer) - if (!nen_options.iNoSounds && !(m_pContainer->dwFlags & CNT_NOSOUND)) + if (!nen_options.iNoSounds && !(m_pContainer->m_dwFlags & CNT_NOSOUND)) Skin_PlaySound("SendMsg"); Srmm_Broadcast(DM_APPENDMCEVENT, job.hContact, hNewEvent); |