Upgrade to libsignal-client v0.19.2

This commit is contained in:
Scott Nonnenberg 2022-08-01 18:31:24 -07:00 committed by GitHub
parent e8c6f68e3f
commit 2b648b79a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 29 additions and 34 deletions

View file

@ -1,7 +1,7 @@
// Copyright 2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import type { Cds2Client } from '@signalapp/libsignal-client';
import { Cds2Client } from '@signalapp/libsignal-client';
import { strictAssert } from '../../util/assert';
import { SignalService as Proto } from '../../protobuf';
@ -23,8 +23,6 @@ export class CDSISocket extends CDSSocketBase<CDSISocketOptionsType> {
);
this.state = CDSSocketState.Handshake;
throw new Error('TODO: CDSISocket: Cds2Client is not available!');
/*
{
const { done, value: attestationMessage } =
await this.socketIterator.next();
@ -42,7 +40,6 @@ export class CDSISocket extends CDSSocketBase<CDSISocketOptionsType> {
earliestValidTimestamp
);
}
*/
this.socket.sendBytes(this.cdsClient.initialRequest());