|
|
|
@ -136,15 +136,6 @@ NSString *const OWSMessageDecryptJobFinderExtensionGroup = @"OWSMessageProcessin
|
|
|
|
|
{
|
|
|
|
|
[self.dbConnection readWriteWithBlock:^(YapDatabaseReadWriteTransaction *_Nonnull transaction) {
|
|
|
|
|
OWSMessageDecryptJob *job = [[OWSMessageDecryptJob alloc] initWithEnvelopeData:envelopeData];
|
|
|
|
|
|
|
|
|
|
SSKProtoEnvelope *envelopeProto = job.envelopeProto;
|
|
|
|
|
OWSAssertDebug(envelopeProto);
|
|
|
|
|
OWSLogInfo(@"----- Enqueuing. timestamp: %llu, serverTimestamp: %llu, createdAt: %llu %@",
|
|
|
|
|
envelopeProto.timestamp,
|
|
|
|
|
envelopeProto.serverTimestamp,
|
|
|
|
|
[NSDate ows_millisecondsSince1970ForDate:job.createdAt],
|
|
|
|
|
[NSDateFormatter localizedStringFromDate:job.createdAt dateStyle:NSDateFormatterFullStyle timeStyle:NSDateFormatterFullStyle]);
|
|
|
|
|
|
|
|
|
|
[job saveWithTransaction:transaction];
|
|
|
|
|
}];
|
|
|
|
|
}
|
|
|
|
|