summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox/src/stdafx.h')
-rw-r--r--protocols/Tox/src/stdafx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/Tox/src/stdafx.h b/protocols/Tox/src/stdafx.h
index 5e4af6b0c9..a136f910a7 100644
--- a/protocols/Tox/src/stdafx.h
+++ b/protocols/Tox/src/stdafx.h
@@ -83,7 +83,9 @@ extern HINSTANCE g_hInstance;
#define TOX_SETTINGS_NODE_PKEY TOX_SETTINGS_NODE_PREFIX"%d_PubKey"
#define TOX_SETTINGS_NODE_COUNT TOX_SETTINGS_NODE_PREFIX"Count"
-#define DB_EVENT_ACTION 10001
+#define DB_EVENT_ACTION 1000 + TOX_MESSAGE_TYPE_ACTION
+#define DB_EVENT_CORRECTION 1000 + TOX_MESSAGE_TYPE_CORRECTION
+
#define TOX_MAX_AVATAR_SIZE 1 << 16 // 2 ^ 16 bytes
extern HANDLE hProfileFolderPath;