Improve attachment option handling
This commit is contained in:
parent
5fccf87eaa
commit
168397d8ef
1 changed files with 1 additions and 3 deletions
|
@ -404,9 +404,7 @@ export async function decryptAttachmentV2ToSink(
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'local':
|
case 'local':
|
||||||
case 'backupThumbnail':
|
case 'backupThumbnail':
|
||||||
log.info(
|
// Skip digest check
|
||||||
`${logId}: skipping digest check since this is a ${type} attachment`
|
|
||||||
);
|
|
||||||
break;
|
break;
|
||||||
case 'standard':
|
case 'standard':
|
||||||
if (!constantTimeEqual(ourDigest, options.theirDigest)) {
|
if (!constantTimeEqual(ourDigest, options.theirDigest)) {
|
||||||
|
|
Loading…
Reference in a new issue