archiveSessionOnMatch: Check for ratchet key match as well

This commit is contained in:
Scott Nonnenberg 2021-07-23 10:44:21 -07:00 committed by GitHub
parent fdec47d637
commit b0eaae93f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 4 deletions

View file

@ -2,6 +2,8 @@
// SPDX-License-Identifier: AGPL-3.0-only
/* eslint-disable max-classes-per-file */
import { PublicKey } from '@signalapp/signal-client';
import { SignalService as Proto } from '../protobuf';
import { ProcessedDataMessage, ProcessedSent } from './Types.d';
import type {
@ -92,6 +94,7 @@ export class DecryptionErrorEvent extends Event {
export type RetryRequestEventData = Readonly<{
groupId?: string;
ratchetKey?: PublicKey;
requesterUuid: string;
requesterDevice: number;
senderDevice: number;