This commit is contained in:
Overtorment 2019-04-04 17:22:54 +01:00
parent 724bc3d656
commit 70262b1059

View File

@ -100,6 +100,10 @@ export class Paym {
this._isPaid = false; this._isPaid = false;
} }
if (payment.payment_error && payment.payment_error.indexOf('UnknownPaymentHash') !== -1) {
this._isPaid = false;
}
if (payment.payment_error && payment.payment_error.indexOf('payment is in transition') !== -1) { if (payment.payment_error && payment.payment_error.indexOf('payment is in transition') !== -1) {
this._isPaid = null; // null is default, but lets set it anyway this._isPaid = null; // null is default, but lets set it anyway
} }