summaryrefslogtreecommitdiff
path: root/src/core/stdchat
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdchat')
-rw-r--r--src/core/stdchat/src/manager.cpp3
-rw-r--r--src/core/stdchat/src/services.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/stdchat/src/manager.cpp b/src/core/stdchat/src/manager.cpp
index ac718a9452..a42b6f244a 100644
--- a/src/core/stdchat/src/manager.cpp
+++ b/src/core/stdchat/src/manager.cpp
@@ -294,7 +294,8 @@ BOOL SM_AddEventToAllMatchingUID(GCEVENT * gce)
g_TabSession.pLogEnd = pTemp->pLogEnd;
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/src/core/stdchat/src/services.cpp b/src/core/stdchat/src/services.cpp
index 883459bf10..620d3f254e 100644
--- a/src/core/stdchat/src/services.cpp
+++ b/src/core/stdchat/src/services.cpp
@@ -700,7 +700,7 @@ static INT_PTR Service_AddEvent(WPARAM wParam, LPARAM lParam)
g_TabSession.pLogEnd = si->pLogEnd;
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);