Merge pull request #1596 from hunbernd/feature/risechatlenght

Rise public chat message size
This commit is contained in:
csoler 2019-10-06 22:16:09 +02:00 committed by GitHub
commit c0e8aa1024
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -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.