mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-20 00:18:45 +01:00
Use minimal replacement class for MessageModel
This commit is contained in:
@@ -22,6 +22,7 @@ import { type AttachmentType, AttachmentVariant } from '../../types/Attachment';
|
||||
import { strictAssert } from '../../util/assert';
|
||||
import { AttachmentDownloadSource } from '../../sql/Interface';
|
||||
import { getAttachmentCiphertextLength } from '../../AttachmentCrypto';
|
||||
import { postSaveUpdates } from '../../util/cleanup';
|
||||
|
||||
function composeJob({
|
||||
messageId,
|
||||
@@ -119,6 +120,7 @@ describe('AttachmentDownloadManager/JobManager', () => {
|
||||
{
|
||||
ourAci: 'ourAci' as AciString,
|
||||
forceSave: true,
|
||||
postSaveUpdates,
|
||||
}
|
||||
);
|
||||
await downloadManager?.addJob({
|
||||
|
||||
Reference in New Issue
Block a user