From bf928bd6cfa3df39b4cfda0ff5a5825105cf4a56 Mon Sep 17 00:00:00 2001 From: aunsane Date: Wed, 17 Jan 2018 22:34:45 +0300 Subject: Tox: updated libtox to 0.2.0 - support of message correction - version bump --- protocols/Tox/libtox/src/toxcore/tox.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'protocols/Tox/libtox/src/toxcore/tox.h') diff --git a/protocols/Tox/libtox/src/toxcore/tox.h b/protocols/Tox/libtox/src/toxcore/tox.h index cb9c4fa0e0..f4f3d06639 100644 --- a/protocols/Tox/libtox/src/toxcore/tox.h +++ b/protocols/Tox/libtox/src/toxcore/tox.h @@ -172,7 +172,7 @@ uint32_t tox_version_major(void); * breaking the API or ABI. Set to 0 when the major version number is * incremented. */ -#define TOX_VERSION_MINOR 1 +#define TOX_VERSION_MINOR 2 uint32_t tox_version_minor(void); @@ -180,7 +180,7 @@ uint32_t tox_version_minor(void); * The patch or revision number. Incremented when bugfixes are applied without * changing any functionality or API or ABI. */ -#define TOX_VERSION_PATCH 11 +#define TOX_VERSION_PATCH 0 uint32_t tox_version_patch(void); @@ -371,6 +371,12 @@ typedef enum TOX_MESSAGE_TYPE { */ TOX_MESSAGE_TYPE_ACTION, + /** + * Correction of the last message. With empty message body can be used to mark + * last message as deleted. + */ + TOX_MESSAGE_TYPE_CORRECTION, + } TOX_MESSAGE_TYPE; -- cgit v1.2.3