Merge eed9fc47b63369ef4c2474418a4a82fbefe284c9 into 4f828b5643ff87a5064c8d384d0a4cb64001d2b2

This commit is contained in:
harshjainnn 2026-08-26 12:41:59 -04:00 committed by GitHub
commit 12bf2a9728
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,6 +67,9 @@ object AppConstants {
object Protocol {
const val COMPRESSION_THRESHOLD_BYTES: Int = 100
// MUST stay in sync with iOS's FileTransferLimits.maxFramedFileBytes
// (LocalPackages/BitFoundation/Sources/BitFoundation/FileTransferLimits.swift in permissionlesstech/bitchat).
// Reference issue #1618, which fixed a mismatch where iOS's ceiling was ~1.13 MiB instead of 10 MiB.
const val MAX_PAYLOAD_LENGTH: Int = 10_485_760
}