Send and receive PniSignatureMessage

This commit is contained in:
Fedor Indutny
2022-08-15 14:53:33 -07:00
committed by GitHub
parent 95be24e8f7
commit 00cfd92dd0
43 changed files with 1082 additions and 164 deletions

View File

@@ -267,6 +267,7 @@ export interface CallbackResultType {
timestamp?: number;
recipients?: Record<string, Array<number>>;
urgent?: boolean;
hasPniSignatureMessage?: boolean;
}
export interface IRequestHandler {
@@ -278,3 +279,8 @@ export type PniKeyMaterialType = Readonly<{
signedPreKey: Uint8Array;
registrationId: number;
}>;
export type PniSignatureMessageType = Readonly<{
pni: UUIDStringType;
signature: Uint8Array;
}>;