mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-07 16:45:11 -04:00
Rise max public chat message size to 31000 bytes
Rise color palette size from 16 to 256 colors Note: Max chat item size is 32000 without splitting the message. 31000 = 32000 - some place left for other fields
This commit is contained in:
parent
73574ff2ad
commit
9a884b7bf7
2 changed files with 5 additions and 5 deletions
|
@ -47,7 +47,7 @@
|
|||
* #define CHAT_DEBUG 1
|
||||
****/
|
||||
|
||||
static const uint32_t MAX_MESSAGE_SECURITY_SIZE = 6000 ; // Max message size to forward other friends
|
||||
static const uint32_t MAX_MESSAGE_SECURITY_SIZE = 31000 ; // Max message size to forward other friends
|
||||
static const uint32_t MAX_AVATAR_JPEG_SIZE = 32767; // Maximum size in bytes for an avatar. Too large packets
|
||||
// don't transfer correctly and can kill the system.
|
||||
// Images are 96x96, which makes approx. 27000 bytes uncompressed.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue