Test processing of unprocessed envelopes
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
2c01e6f4b8
commit
83b076b5c4
7 changed files with 113 additions and 10 deletions
|
@ -1144,6 +1144,11 @@ export default class MessageReceiver
|
|||
return;
|
||||
}
|
||||
|
||||
// Force save of unprocessed envelopes for testing
|
||||
if (window.SignalCI?.forceUnprocessed) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Now, queue and process decrypted envelopes. We drop the promise so that the next
|
||||
// decryptAndCacheBatch batch does not have to wait for the decrypted envelopes to be
|
||||
// processed, which can be an asynchronous blocking operation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue