mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-28 12:23:31 +01:00
Request and handle PniIdentity sync message
This commit is contained in:
@@ -349,6 +349,20 @@ export class KeysEvent extends ConfirmableEvent {
|
||||
}
|
||||
}
|
||||
|
||||
export type PNIIdentityEventData = Readonly<{
|
||||
publicKey: Uint8Array;
|
||||
privateKey: Uint8Array;
|
||||
}>;
|
||||
|
||||
export class PNIIdentityEvent extends ConfirmableEvent {
|
||||
constructor(
|
||||
public readonly data: PNIIdentityEventData,
|
||||
confirm: ConfirmCallback
|
||||
) {
|
||||
super('pniIdentity', confirm);
|
||||
}
|
||||
}
|
||||
|
||||
export type StickerPackEventData = Readonly<{
|
||||
id?: string;
|
||||
key?: string;
|
||||
|
||||
Reference in New Issue
Block a user