Initial refactor of the message decryption flow.

This commit is contained in:
Greyson Parrelli
2023-03-03 01:10:33 -05:00
parent c1a94be9cd
commit ec2565263e
14 changed files with 1077 additions and 696 deletions

View File

@@ -271,7 +271,7 @@ public class LegacyMigrationJob extends MigrationJob {
try (PushTable.Reader pushReader = pushDatabase.readerFor(pushDatabase.getPending())) {
SignalServiceEnvelope envelope;
while ((envelope = pushReader.getNext()) != null) {
jobManager.add(new PushDecryptMessageJob(context, envelope));
jobManager.add(new PushDecryptMessageJob(envelope));
}
}
}