Move receipts and view/read syncs to new syncTasks system
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
parent
949104c316
commit
b95dd1a70f
33 changed files with 1242 additions and 612 deletions
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue