mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 10:58:19 +01:00
Extra toast for Message Receiver errors
This commit is contained in:
committed by
Josh Perez
parent
36b3e2de08
commit
ca4aad6bad
@@ -161,6 +161,18 @@ export class DecryptionErrorEvent extends ConfirmableEvent {
|
||||
}
|
||||
}
|
||||
|
||||
export type InvalidPlaintextEventData = Readonly<{
|
||||
senderDevice: number;
|
||||
senderUuid: string;
|
||||
timestamp: number;
|
||||
}>;
|
||||
|
||||
export class InvalidPlaintextEvent extends Event {
|
||||
constructor(public readonly data: InvalidPlaintextEventData) {
|
||||
super('invalid-plaintext');
|
||||
}
|
||||
}
|
||||
|
||||
export type RetryRequestEventData = Readonly<{
|
||||
groupId?: string;
|
||||
ratchetKey?: PublicKey;
|
||||
|
||||
Reference in New Issue
Block a user