mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Improve attachment option handling
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user