mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-02 08:23:00 +01:00
Add a remote config `global.maxIncrementalMacsPerEnvelope` (client fallback of 10) that limits how many attachment pointers in a single envelope can have their incrementalMac field populated. Each incrementalMac can be up to 8 KiB, so having too many risks exceeding the 96 KiB envelope size threshold. Excess attachment pointers have their incrementalMac and chunkSize fields stripped.