mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-08-29 09:49:04 +00:00
comment
This commit is contained in:
@@ -890,7 +890,9 @@ maxCompressedMsgLength = 13380
|
||||
maxDecompressedMsgLength :: Int
|
||||
maxDecompressedMsgLength = 65536
|
||||
|
||||
-- Bound on moderators + admins so the signed roster always fits one message.
|
||||
-- Bound so the signed roster fits maxEncodedMsgLength (15602 B): ~140 B per
|
||||
-- RosterMember (memberId + Ed25519 key both base64, role, name capped at 16
|
||||
-- chars by memberShortenedName). Fits 64 entries even with 4-byte-UTF-8 names.
|
||||
maxGroupRosterSize :: Int
|
||||
maxGroupRosterSize = 64
|
||||
|
||||
|
||||
Reference in New Issue
Block a user