summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat_tools.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-08-14 12:37:55 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-08-14 12:37:55 +0300
commita5f0d0cde8b48159d1616aa9f6b0b0f77fd773d0 (patch)
tree2ef21297815333adbab111006341ab965c1709d9 /plugins/TabSRMM/src/chat_tools.cpp
parent44ac1f94e8f7bb3b5c64ce7f11a35bfb8bdc0ae2 (diff)
code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/chat_tools.cpp')
-rw-r--r--plugins/TabSRMM/src/chat_tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/chat_tools.cpp b/plugins/TabSRMM/src/chat_tools.cpp
index 173fad2b7f..08277c5780 100644
--- a/plugins/TabSRMM/src/chat_tools.cpp
+++ b/plugins/TabSRMM/src/chat_tools.cpp
@@ -285,7 +285,7 @@ BOOL DoSoundsFlashPopupTrayStuff(SESSION_INFO *si, GCEVENT *gce, BOOL bHighlight
if (dat) {
bInactive = dat->m_pContainer->m_hwnd != GetForegroundWindow();
bActiveTab = (dat->m_pContainer->m_hwndActive == dat->GetHwnd());
- if (sound && dat->MustPlaySound())
+ if (sound && dat->m_pContainer->MustPlaySound(dat))
Skin_PlaySound(sound);
}
else if (sound)