From 3a1a68b6d509071389da7fdb28010126d1102ebe Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 2 Jun 2022 12:43:04 +0300 Subject: fixes #3082 (NewEventNotify: rename "Disable notification for group chats" to "Enable notification for group chats") --- plugins/TabSRMM/src/chat_tools.cpp | 6 +++--- plugins/TabSRMM/src/eventpopups.cpp | 2 +- plugins/TabSRMM/src/nen.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/TabSRMM') 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); diff --git a/plugins/TabSRMM/src/eventpopups.cpp b/plugins/TabSRMM/src/eventpopups.cpp index 6810131760..37731f2f44 100644 --- a/plugins/TabSRMM/src/eventpopups.cpp +++ b/plugins/TabSRMM/src/eventpopups.cpp @@ -39,7 +39,7 @@ CMOption NEN::ActionLeft(NEN_MODULE, "ActionLeft", MASK_OPEN | MASK_DISMISS); CMOption NEN::ActionRight(NEN_MODULE, "ActionRight", MASK_DISMISS); -CMOption NEN::bMUCDisabled(NEN_MODULE, "MUCDisabled", false); +CMOption NEN::bMucPopups(NEN_MODULE, "MucPopups", true); CMOption NEN::bWindowCheck(NEN_MODULE, "WindowCheck", false); CMOption NEN::bNoSounds(NEN_MODULE, "NoSounds", false); CMOption NEN::bNoAutoPopup(NEN_MODULE, "NoAutoPopup", false); diff --git a/plugins/TabSRMM/src/nen.h b/plugins/TabSRMM/src/nen.h index e9889eb66c..bca0b37885 100644 --- a/plugins/TabSRMM/src/nen.h +++ b/plugins/TabSRMM/src/nen.h @@ -52,7 +52,7 @@ namespace NEN { extern CMOption ActionLeft, ActionRight; - extern CMOption bMUCDisabled, bWindowCheck, bNoSounds, bNoAutoPopup, bColDefaultErr; + extern CMOption bMucPopups, bWindowCheck, bNoSounds, bNoAutoPopup, bColDefaultErr; extern CMOption iDelayMsg, iDelayErr; extern CMOption colTextMsg, colBackMsg; -- cgit v1.2.3