summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-08 16:26:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-08 16:26:20 +0000
commit9196065a1afd8850b3d66995c5b393c7aec9b5fe (patch)
tree2eff442e18449853d8cd95a1d13d229b82e5f6f7
parent49e1cc1238916a52a30acb6598b4b58e671e4032 (diff)
we shall filter out EVENTTYPE_ADDED too, otherwise a strange window pops up in tabSRMM
git-svn-id: http://svn.miranda-ng.org/main/trunk@6023 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/TabSRMM/src/mim.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp
index 3bb7a98cb7..dbaadce2df 100644
--- a/plugins/TabSRMM/src/mim.cpp
+++ b/plugins/TabSRMM/src/mim.cpp
@@ -648,10 +648,12 @@ int CMimAPI::MessageEventAdded(WPARAM wParam, LPARAM lParam)
}
}
else {
- if (dbei.eventType == EVENTTYPE_AUTHREQUEST)
+ switch (dbei.eventType) {
+ case EVENTTYPE_AUTHREQUEST:
+ case EVENTTYPE_ADDED:
return 0;
- if (dbei.eventType == EVENTTYPE_FILE) {
+ case EVENTTYPE_FILE:
tabSRMM_ShowPopup(hContact, hDbEvent, dbei.eventType, 0, 0, 0, dbei.szModule, 0);
return 0;
}