Add incremental digests to attachment sending.

This commit is contained in:
Nicholas
2023-06-28 16:24:46 -04:00
parent 025411c9fb
commit 34d252a4bd
34 changed files with 397 additions and 240 deletions

View File

@@ -40,6 +40,7 @@ object FakeMessageRecords {
key: String = "",
relay: String = "",
digest: ByteArray = byteArrayOf(),
incrementalDigest: ByteArray = byteArrayOf(),
fastPreflightId: String = "",
voiceNote: Boolean = false,
borderless: Boolean = false,
@@ -69,6 +70,7 @@ object FakeMessageRecords {
key,
relay,
digest,
incrementalDigest,
fastPreflightId,
voiceNote,
borderless,

View File

@@ -242,6 +242,7 @@ class UploadDependencyGraphTest {
attachment.key,
attachment.relay,
attachment.digest,
attachment.incrementalDigest,
attachment.fastPreflightId,
attachment.isVoiceNote,
attachment.isBorderless,