mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Fix payments spinning forever.
This commit is contained in:
committed by
Greyson Parrelli
parent
6a21106347
commit
b83080e2d7
@@ -652,10 +652,12 @@ object DataMessageProcessor {
|
||||
} catch (e: MmsException) {
|
||||
throw StorageFailedException(e, metadata.sourceServiceId.toString(), metadata.sourceDeviceId)
|
||||
} finally {
|
||||
ApplicationDependencies.getJobManager()
|
||||
.startChain(PaymentTransactionCheckJob(uuid, queue))
|
||||
.then(PaymentLedgerUpdateJob.updateLedger())
|
||||
.enqueue()
|
||||
SignalDatabase.runPostSuccessfulTransaction {
|
||||
ApplicationDependencies.getJobManager()
|
||||
.startChain(PaymentTransactionCheckJob(uuid, queue))
|
||||
.then(PaymentLedgerUpdateJob.updateLedger())
|
||||
.enqueue()
|
||||
}
|
||||
}
|
||||
|
||||
return null
|
||||
|
||||
Reference in New Issue
Block a user