summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/chat/manager.cpp3
-rw-r--r--plugins/Scriver/src/chat/services.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat/manager.cpp b/plugins/Scriver/src/chat/manager.cpp
index 30dd1e849b..0c1a994cf1 100644
--- a/plugins/Scriver/src/chat/manager.cpp
+++ b/plugins/Scriver/src/chat/manager.cpp
@@ -296,7 +296,8 @@ BOOL SM_AddEventToAllMatchingUID(GCEVENT * gce)
else if (pTemp->hWnd && pTemp->bInitDone) {
SendMessage(pTemp->hWnd, GC_REDRAWLOG2, 0, 0);
}
- DoSoundsFlashPopupTrayStuff(pTemp, gce, FALSE, bManyFix);
+ if (!(gce->dwFlags & GCEF_NOTNOTIFY))
+ DoSoundsFlashPopupTrayStuff(pTemp, gce, FALSE, bManyFix);
bManyFix ++;
if ((gce->dwFlags & GCEF_ADDTOLOG) && g_Settings.LoggingEnabled)
LogToFile(pTemp, gce);
diff --git a/plugins/Scriver/src/chat/services.cpp b/plugins/Scriver/src/chat/services.cpp
index a90addd341..bfdc56b867 100644
--- a/plugins/Scriver/src/chat/services.cpp
+++ b/plugins/Scriver/src/chat/services.cpp
@@ -561,7 +561,7 @@ static INT_PTR Service_AddEvent(WPARAM wParam, LPARAM lParam)
else if (si->hWnd)
SendMessage(si->hWnd, GC_REDRAWLOG2, 0, 0);
- if (!gce->dwFlags & GCEF_NOTNOTIFY)
+ if (!(gce->dwFlags & GCEF_NOTNOTIFY))
DoSoundsFlashPopupTrayStuff(si, gce, bIsHighlighted, 0);
if ((gce->dwFlags & GCEF_ADDTOLOG) && g_Settings.LoggingEnabled)
LogToFile(si, gce);