summaryrefslogtreecommitdiff
path: root/toxcore/tox.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-08-27 15:13:44 -0400
committerirungentoo <irungentoo@gmail.com>2014-08-27 15:13:44 -0400
commit30524bf41513a334f0e32117b85aad2f661eed2b (patch)
tree44c0acbaf2daf6b41330f5ead3838be9f1e85ec6 /toxcore/tox.h
parentff02d5a607362df1382eeb4d7ef146eaab1c8dd1 (diff)
Changed how receipts work.
Messages now have a maximum length of 1372. Receipt packets have been removed, instead net_crypto tells us if the other peer has received the packets or not.
Diffstat (limited to 'toxcore/tox.h')
-rw-r--r--toxcore/tox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/tox.h b/toxcore/tox.h
index 550600f9..08c2b3a2 100644
--- a/toxcore/tox.h
+++ b/toxcore/tox.h
@@ -34,7 +34,7 @@ extern "C" {
34#define TOX_MAX_NAME_LENGTH 128 34#define TOX_MAX_NAME_LENGTH 128
35 35
36/* Maximum length of single messages after which they should be split. */ 36/* Maximum length of single messages after which they should be split. */
37#define TOX_MAX_MESSAGE_LENGTH 1368 37#define TOX_MAX_MESSAGE_LENGTH 1372
38#define TOX_MAX_STATUSMESSAGE_LENGTH 1007 38#define TOX_MAX_STATUSMESSAGE_LENGTH 1007
39#define TOX_CLIENT_ID_SIZE 32 39#define TOX_CLIENT_ID_SIZE 32
40 40