diff options
author | aunsane <aunsane@gmail.com> | 2018-01-17 22:34:45 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-01-17 22:34:45 +0300 |
commit | bf928bd6cfa3df39b4cfda0ff5a5825105cf4a56 (patch) | |
tree | 3c7ce179ea9f6a43e671c96186fcbec804170c9a /protocols/Tox/src/stdafx.h | |
parent | 5f96f1919d2d8210c4a67fe5a4fd9c0f84f9ee27 (diff) |
Tox: updated libtox to 0.2.0
- support of message correction
- version bump
Diffstat (limited to 'protocols/Tox/src/stdafx.h')
-rw-r--r-- | protocols/Tox/src/stdafx.h | 4 |
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;
|