Update lnbits/extensions/livestream/tasks.py
Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
This commit is contained in:
co-authored by
calle
parent
aaecb2b381
commit
8bb801ac99
@@ -22,8 +22,6 @@ async def wait_for_paid_invoices():
|
|||||||
|
|
||||||
|
|
||||||
async def on_invoice_paid(payment: Payment) -> None:
|
async def on_invoice_paid(payment: Payment) -> None:
|
||||||
if not payment.extra:
|
|
||||||
return
|
|
||||||
|
|
||||||
if payment.extra.get("tag") != "livestream":
|
if payment.extra.get("tag") != "livestream":
|
||||||
# not a livestream invoice
|
# not a livestream invoice
|
||||||
|
|||||||
Reference in New Issue
Block a user