summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat_tools.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-06-02 12:43:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-06-02 12:43:04 +0300
commit3a1a68b6d509071389da7fdb28010126d1102ebe (patch)
tree9f5a7dd55fc7dc29fde14d35cbe4752c6f43926a /plugins/TabSRMM/src/chat_tools.cpp
parent0cd26c72566046b2c3a055746519e79caae30360 (diff)
fixes #3082 (NewEventNotify: rename "Disable notification for group chats" to "Enable notification for group chats")
Diffstat (limited to 'plugins/TabSRMM/src/chat_tools.cpp')
-rw-r--r--plugins/TabSRMM/src/chat_tools.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/chat_tools.cpp b/plugins/TabSRMM/src/chat_tools.cpp
index d65fc14b60..7506931a8e 100644
--- a/plugins/TabSRMM/src/chat_tools.cpp
+++ b/plugins/TabSRMM/src/chat_tools.cpp
@@ -145,7 +145,7 @@ BOOL DoPopup(SESSION_INFO *si, GCEVENT *gce)
}
else bbStart = bbEnd = L"";
- if (NEN::bMUCDisabled) // no popups at all. Period
+ if (!NEN::bMucPopups) // no popups at all. Period
return 0;
// check the status mode against the status mask
@@ -224,7 +224,7 @@ BOOL DoSoundsFlashPopupTrayStuff(SESSION_INFO *si, GCEVENT *gce, BOOL bHighlight
DoTrayIcon(si, gce);
}
- if (dat || !NEN::bMUCDisabled)
+ if (dat || NEN::bMucPopups)
if (iMuteMode != CHATMODE_MUTE)
DoPopup(si, gce);
@@ -254,7 +254,7 @@ BOOL DoSoundsFlashPopupTrayStuff(SESSION_INFO *si, GCEVENT *gce, BOOL bHighlight
// stupid thing to not create multiple popups for a QUIT event for instance
if (bManyFix == 0) {
// do popups
- if (dat || !NEN::bMUCDisabled)
+ if (dat || NEN::bMucPopups)
if (iMuteMode != CHATMODE_MUTE)
DoPopup(si, gce);