mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-21 17:29:32 +01:00
Migrate paypal and stripe interactions to durable background jobs.
This commit is contained in:
committed by
Cody Henthorne
parent
ad00e7c5ab
commit
7cc4677120
@@ -1,6 +1,7 @@
|
||||
package org.thoughtcrime.securesms.subscription
|
||||
|
||||
import org.whispersystems.signalservice.api.subscriptions.IdempotencyKey
|
||||
import java.io.Closeable
|
||||
|
||||
/**
|
||||
* Binds a Subscription level update with an idempotency key.
|
||||
@@ -10,4 +11,8 @@ import org.whispersystems.signalservice.api.subscriptions.IdempotencyKey
|
||||
data class LevelUpdateOperation(
|
||||
val idempotencyKey: IdempotencyKey,
|
||||
val level: String
|
||||
)
|
||||
) : Closeable {
|
||||
override fun close() {
|
||||
LevelUpdate.updateProcessingState(false)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user