mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Increase max group message length by four bytes
The max message length was reduced by 4 bytes to account for the pseudo message ID, which had unintended effects on clients. It makes more sense to increase the raw packet length by four and keep the max group message length the same as the max message length for friend chats.
This commit is contained in:
parent
b2ca401543
commit
172f279dc0
|
@ -11,7 +11,7 @@ environment:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- set PATH=C:\Python311-x64\Scripts;%PATH%
|
- set PATH=C:\Python311-x64\Scripts;%PATH%
|
||||||
- py -3 -m pip install conan
|
- py -3 -m pip install conan==1.59.0
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
|
|
||||||
for:
|
for:
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
b0fafb30bffe21889f06a95edd3867f29a2203d30c2d7e7bf3ef646267f08d64 /usr/local/bin/tox-bootstrapd
|
62d2c7ab2a14d1f9b00acaf13813b3ea916ccfb2173c9ba95ac82a843a258119 /usr/local/bin/tox-bootstrapd
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
#define MAX_GC_TOPIC_SIZE 512
|
#define MAX_GC_TOPIC_SIZE 512
|
||||||
#define MAX_GC_GROUP_NAME_SIZE 48
|
#define MAX_GC_GROUP_NAME_SIZE 48
|
||||||
#define GC_MESSAGE_PSEUDO_ID_SIZE 4
|
#define GC_MESSAGE_PSEUDO_ID_SIZE 4
|
||||||
#define GROUP_MAX_MESSAGE_LENGTH 1368
|
#define GROUP_MAX_MESSAGE_LENGTH 1372
|
||||||
|
|
||||||
/* Max size of a packet chunk. Packets larger than this must be split up.
|
/* Max size of a packet chunk. Packets larger than this must be split up.
|
||||||
*
|
*
|
||||||
|
|
|
@ -3301,7 +3301,7 @@ uint32_t tox_group_max_part_length(void);
|
||||||
/**
|
/**
|
||||||
* Maximum length of a group text message.
|
* Maximum length of a group text message.
|
||||||
*/
|
*/
|
||||||
#define TOX_GROUP_MAX_MESSAGE_LENGTH 1368
|
#define TOX_GROUP_MAX_MESSAGE_LENGTH 1372
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Maximum length of a group custom lossy packet.
|
* Maximum length of a group custom lossy packet.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user