mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-26 03:18:17 +01:00
Move receipts and view/read syncs to new syncTasks system
This commit is contained in:
@@ -7,6 +7,7 @@ import { v4 as generateUuid } from 'uuid';
|
||||
import dataInterface from '../../sql/Client';
|
||||
import { generateAci } from '../../types/ServiceId';
|
||||
import { constantTimeEqual, getRandomBytes } from '../../Crypto';
|
||||
import { singleProtoJobQueue } from '../../jobs/singleProtoJobQueue';
|
||||
|
||||
const {
|
||||
_getAllSentProtoMessageIds,
|
||||
@@ -148,7 +149,7 @@ describe('sql/sendLog', () => {
|
||||
|
||||
assert.strictEqual(actual.timestamp, proto.timestamp);
|
||||
|
||||
await removeMessage(id);
|
||||
await removeMessage(id, { singleProtoJobQueue });
|
||||
|
||||
assert.lengthOf(await getAllSentProtos(), 0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user