From 743861f9421b190409c8420e2da37df27571783e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 16 Jun 2013 10:15:14 +0000 Subject: Chat API: added flag to not notify particular event Jabber: Fixed (changed) muc history filtering to not notifying git-svn-id: http://svn.miranda-ng.org/main/trunk@4972 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdchat/src/services.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/stdchat') diff --git a/src/core/stdchat/src/services.cpp b/src/core/stdchat/src/services.cpp index 04d749ad2b..883459bf10 100644 --- a/src/core/stdchat/src/services.cpp +++ b/src/core/stdchat/src/services.cpp @@ -700,7 +700,8 @@ static INT_PTR Service_AddEvent(WPARAM wParam, LPARAM lParam) g_TabSession.pLogEnd = si->pLogEnd; SendMessage(si->hWnd, GC_REDRAWLOG2, 0, 0); } - DoSoundsFlashPopupTrayStuff(si, gce, bIsHighlighted, 0); + if (!gce->dwFlags & GCEF_NOTNOTIFY) + DoSoundsFlashPopupTrayStuff(si, gce, bIsHighlighted, 0); if ((gce->dwFlags & GCEF_ADDTOLOG) && g_Settings.LoggingEnabled) LogToFile(si, gce); } -- cgit v1.2.3