mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-25 20:23:19 +00:00
Do not download attachment if we do not have a digest.
This commit is contained in:
committed by
Cody Henthorne
parent
cf7ebfa03d
commit
585401a98e
@@ -359,7 +359,7 @@ class AttachmentDownloadJob private constructor(
|
||||
if (attachment.remoteDigest != null) {
|
||||
Log.i(TAG, "Downloading attachment with digest: " + Hex.toString(attachment.remoteDigest))
|
||||
} else {
|
||||
Log.i(TAG, "Downloading attachment with no digest...")
|
||||
throw InvalidPartException("Null remote digest for $attachmentId")
|
||||
}
|
||||
|
||||
SignalServiceAttachmentPointer(
|
||||
|
||||
Reference in New Issue
Block a user