Don't block message processing on contact syncs

This commit is contained in:
trevor-signal 2024-09-17 18:52:31 -04:00 committed by GitHub
parent e5d03edea1
commit c11a894ad1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 59 additions and 59 deletions

View file

@ -8,7 +8,6 @@ import Long from 'long';
import MessageReceiver from '../textsecure/MessageReceiver';
import { IncomingWebSocketRequestLegacy } from '../textsecure/WebsocketResources';
import type { WebAPIType } from '../textsecure/WebAPI';
import type { DecryptionErrorEvent } from '../textsecure/messageReceiverEvents';
import { generateAci } from '../types/ServiceId';
import type { AciString } from '../types/ServiceId';
@ -39,7 +38,6 @@ describe('MessageReceiver', () => {
describe('connecting', () => {
it('generates decryption-error event when it cannot decrypt', async () => {
const messageReceiver = new MessageReceiver({
server: {} as WebAPIType,
storage: window.storage,
serverTrustRoot: 'AAAAAAAA',
});