Additional logging, more reliable contact/group sync fetch

This commit is contained in:
Scott Nonnenberg
2023-06-14 13:51:49 -07:00
committed by GitHub
parent 8e1a30d720
commit efc237d106
11 changed files with 86 additions and 16 deletions

View File

@@ -1542,7 +1542,7 @@ describe('SignalProtocolStore', () => {
id: '1-one',
version: 2,
attempts: 3,
attempts: 10,
envelope: 'first',
receivedAtCounter: 0,
timestamp: NOW + 1,

View File

@@ -21,7 +21,9 @@ import WebSocketResource from '../textsecure/WebsocketResources';
describe('WebSocket-Resource', () => {
class FakeSocket extends EventEmitter {
public sendBytes(_: Uint8Array) {}
public socket = {
localPort: 5678,
};
public close() {}
}