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
|
@ -11,6 +11,7 @@ import { SignalProtocolStore } from '../../SignalProtocolStore';
|
|||
import type { ConversationModel } from '../../models/conversations';
|
||||
import * as KeyChangeListener from '../../textsecure/KeyChangeListener';
|
||||
import * as Bytes from '../../Bytes';
|
||||
import { singleProtoJobQueue } from '../../jobs/singleProtoJobQueue';
|
||||
|
||||
describe('KeyChangeListener', () => {
|
||||
let oldNumberId: string | undefined;
|
||||
|
@ -69,6 +70,7 @@ describe('KeyChangeListener', () => {
|
|||
afterEach(async () => {
|
||||
await window.Signal.Data.removeMessagesInConversation(convo.id, {
|
||||
logId: ourServiceIdWithKeyChange,
|
||||
singleProtoJobQueue,
|
||||
});
|
||||
await window.Signal.Data.removeConversation(convo.id);
|
||||
|
||||
|
@ -106,6 +108,7 @@ describe('KeyChangeListener', () => {
|
|||
afterEach(async () => {
|
||||
await window.Signal.Data.removeMessagesInConversation(groupConvo.id, {
|
||||
logId: ourServiceIdWithKeyChange,
|
||||
singleProtoJobQueue,
|
||||
});
|
||||
await window.Signal.Data.removeConversation(groupConvo.id);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue