Extra toast for Message Receiver errors
This commit is contained in:
parent
36b3e2de08
commit
ca4aad6bad
4 changed files with 96 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue