Improve attachment option handling
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
3a17da10e8
commit
1848079e47
1 changed files with 1 additions and 3 deletions
|
@ -404,9 +404,7 @@ export async function decryptAttachmentV2ToSink(
|
|||
switch (type) {
|
||||
case 'local':
|
||||
case 'backupThumbnail':
|
||||
log.info(
|
||||
`${logId}: skipping digest check since this is a ${type} attachment`
|
||||
);
|
||||
// Skip digest check
|
||||
break;
|
||||
case 'standard':
|
||||
if (!constantTimeEqual(ourDigest, options.theirDigest)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue