before merging main

This commit is contained in:
Tiago Vasconcelos
2023-01-05 11:05:03 +00:00
parent 58b6b9505d
commit 4ae88ad3b9
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -22,6 +22,9 @@ async def wait_for_paid_invoices():
async def on_invoice_paid(payment: Payment) -> None:
if not payment.extra:
return
if payment.extra.get("tag") != "livestream":
# not a livestream invoice
return
+3
View File
@@ -20,6 +20,9 @@ async def wait_for_paid_invoices():
async def on_invoice_paid(payment: Payment) -> None:
if not payment.extra:
return
if payment.extra.get("tag") == "splitpayments" or payment.extra.get("splitted"):
# already a splitted payment, ignore
return
+3
View File
@@ -20,6 +20,9 @@ async def wait_for_paid_invoices():
async def on_invoice_paid(payment: Payment) -> None:
if not payment.extra:
return
if payment.extra.get("tag") != "tpos":
return