mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 15:45:39 +01:00
Deduplicate incoming attachments on disk
This commit is contained in:
@@ -25,7 +25,7 @@ const {
|
||||
insertProtoRecipients,
|
||||
insertSentProto,
|
||||
removeAllSentProtos,
|
||||
removeMessage,
|
||||
removeMessageById,
|
||||
saveMessage,
|
||||
} = DataWriter;
|
||||
|
||||
@@ -155,7 +155,7 @@ describe('sql/sendLog', () => {
|
||||
|
||||
assert.strictEqual(actual.timestamp, proto.timestamp);
|
||||
|
||||
await removeMessage(id, { cleanupMessages });
|
||||
await removeMessageById(id, { cleanupMessages });
|
||||
|
||||
assert.lengthOf(await getAllSentProtos(), 0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user