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 /plugins | |
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 'plugins')
-rw-r--r-- | plugins/Scriver/src/chat/services.cpp | 3 | ||||
-rw-r--r-- | plugins/TabSRMM/src/chat/services.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat/services.cpp b/plugins/Scriver/src/chat/services.cpp index aaa5e8f604..a90addd341 100644 --- a/plugins/Scriver/src/chat/services.cpp +++ b/plugins/Scriver/src/chat/services.cpp @@ -561,7 +561,8 @@ static INT_PTR Service_AddEvent(WPARAM wParam, LPARAM lParam) else if (si->hWnd)
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);
}
diff --git a/plugins/TabSRMM/src/chat/services.cpp b/plugins/TabSRMM/src/chat/services.cpp index 3f5d199c0e..62cfb994f9 100644 --- a/plugins/TabSRMM/src/chat/services.cpp +++ b/plugins/TabSRMM/src/chat/services.cpp @@ -767,7 +767,8 @@ INT_PTR Service_AddEvent(WPARAM wParam, LPARAM lParam) else if (si->hWnd) {
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);
}
|