mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-21 19:48:29 +00:00
Add incremental mac chunk size to attachment pointer.
This commit is contained in:
@@ -52,6 +52,10 @@ public final class AttachmentPointerUtil {
|
||||
builder.incrementalDigest(ByteString.of(attachment.getIncrementalDigest().get()));
|
||||
}
|
||||
|
||||
if (attachment.getIncrementalMacChunkSize() > 0) {
|
||||
builder.incrementalMacChunkSize(attachment.getIncrementalMacChunkSize());
|
||||
}
|
||||
|
||||
if (attachment.getRemoteId().getV2().isPresent()) {
|
||||
builder.cdnId(attachment.getRemoteId().getV2().get());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user