diff options
Diffstat (limited to 'plugins/NewEventNotify')
| -rw-r--r-- | plugins/NewEventNotify/src/main.cpp | 4 | ||||
| -rw-r--r-- | plugins/NewEventNotify/src/options.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewEventNotify/src/main.cpp b/plugins/NewEventNotify/src/main.cpp index 60692ec06b..d0ae746562 100644 --- a/plugins/NewEventNotify/src/main.cpp +++ b/plugins/NewEventNotify/src/main.cpp @@ -78,11 +78,11 @@ int HookedNewEvent(WPARAM hContact, LPARAM hDbEvent) if (pei && pei->flags & DETF_NONOTIFY)
return 0;
- //if event was allready read don't show it
+ // if event was allready read don't show it
if (g_plugin.bReadCheck && (dbe.flags & DBEF_READ))
return 0;
- //is it an event sent by the user? -> don't show
+ // is it an event sent by the user? -> don't show
if (dbe.flags & DBEF_SENT) {
// JK, only message event, do not influence others
auto *pdata = PU_GetByContact(hContact, EVENTTYPE_MESSAGE);
diff --git a/plugins/NewEventNotify/src/options.cpp b/plugins/NewEventNotify/src/options.cpp index 8820ec597e..43e4d2d950 100644 --- a/plugins/NewEventNotify/src/options.cpp +++ b/plugins/NewEventNotify/src/options.cpp @@ -65,7 +65,7 @@ void CMPlugin::OptionsRead(void) bShowON = getBool(OPT_SHOW_ON, true);
bHideSend = getBool(OPT_HIDESEND, true);
bNoRSS = getBool(OPT_NORSS, false);
- bReadCheck = getBool(OPT_READCHECK, false);
+ bReadCheck = getBool(OPT_READCHECK, true);
}
void CMPlugin::OptionsWrite(void)
|
