mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-08-29 07:16:08 +00:00
Merge eed9fc47b63369ef4c2474418a4a82fbefe284c9 into c02dda308e8a1404d6a6697a4853825723a7413e
This commit is contained in:
commit
aab4ca6583
@ -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
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user