summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdlgutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdlgutils.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp
index 0a3f28e6d6..7b03ab7480 100644
--- a/plugins/TabSRMM/src/msgdlgutils.cpp
+++ b/plugins/TabSRMM/src/msgdlgutils.cpp
@@ -68,6 +68,15 @@ BOOL TSAPI IsStatusEvent(int eventType)
return FALSE;
}
+BOOL TSAPI IsCustomEvent(int eventType)
+{
+ if (eventType == EVENTTYPE_MESSAGE || eventType == EVENTTYPE_URL || eventType == EVENTTYPE_CONTACTS ||
+ eventType == EVENTTYPE_ADDED || eventType == EVENTTYPE_AUTHREQUEST || eventType == EVENTTYPE_FILE)
+ return FALSE;
+
+ return TRUE;
+}
+
/*
* reorder tabs within a container. fSavePos indicates whether the new position should be saved to the
* contacts db record (if so, the container will try to open the tab at the saved position later)