diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-06-16 10:15:14 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-06-16 10:15:14 +0000 |
commit | 743861f9421b190409c8420e2da37df27571783e (patch) | |
tree | 16e1b9b8306dfe7b8172fa4b64c42f4a40f8806f /src/core | |
parent | 0e88c1fc2f51c815e6b2ebd0ad79d5c0d0661a7c (diff) |
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
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdchat/src/services.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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);
}
|