summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM')
-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;
}