MessageReceiver: Emit envelope event on queue for cached+decrypted items
This commit is contained in:
parent
3bf8adf6e1
commit
8177a4e2b3
3 changed files with 54 additions and 13 deletions
|
@ -104,9 +104,17 @@ export class GroupSyncEvent extends Event {
|
|||
}
|
||||
}
|
||||
|
||||
export class EnvelopeEvent extends Event {
|
||||
// Emitted right before we do full decrypt on a message, but after Sealed Sender unseal
|
||||
export class EnvelopeUnsealedEvent extends Event {
|
||||
constructor(public readonly envelope: ProcessedEnvelope) {
|
||||
super('envelope');
|
||||
super('envelopeUnsealed');
|
||||
}
|
||||
}
|
||||
|
||||
// Emitted when we queue previously-decrypted events from the cache
|
||||
export class EnvelopeQueuedEvent extends Event {
|
||||
constructor(public readonly envelope: ProcessedEnvelope) {
|
||||
super('envelopeQueued');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue