mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 02:39:55 +01:00
Take purchase token straight from payment result during linking to subscriber id.
This commit is contained in:
committed by
Greyson Parrelli
parent
1cc3e16d1a
commit
6d115a912d
@@ -13,7 +13,7 @@ import org.thoughtcrime.securesms.database.model.databaseprotos.InAppPaymentData
|
||||
*/
|
||||
class InAppPaymentError(
|
||||
val inAppPaymentDataError: InAppPaymentData.Error
|
||||
) : Exception() {
|
||||
) : Exception(inAppPaymentDataError.toString()) {
|
||||
companion object {
|
||||
fun fromDonationError(donationError: DonationError): InAppPaymentError? {
|
||||
val inAppPaymentDataError: InAppPaymentData.Error? = when (donationError) {
|
||||
|
||||
Reference in New Issue
Block a user