copilot not triggering animations, listeners
This commit is contained in:
parent
0cf11caaad
commit
0d781f899c
2 changed files with 3 additions and 2 deletions
|
|
@ -87,7 +87,7 @@ async def lnurl_callback(
|
||||||
LnurlPayMetadata(json.dumps([["text/plain", str(cp.lnurl_title)]]))
|
LnurlPayMetadata(json.dumps([["text/plain", str(cp.lnurl_title)]]))
|
||||||
).encode("utf-8")
|
).encode("utf-8")
|
||||||
).digest(),
|
).digest(),
|
||||||
extra={"tag": "copilot", "copilot": cp.id, "comment": comment},
|
extra={"tag": "copilot", "copilotid": cp.id, "comment": comment},
|
||||||
)
|
)
|
||||||
payResponse = {
|
payResponse = {
|
||||||
"pr": payment_request,
|
"pr": payment_request,
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,9 @@ async def on_invoice_paid(payment: Payment) -> None:
|
||||||
if "copilot" != payment.extra.get("tag"):
|
if "copilot" != payment.extra.get("tag"):
|
||||||
# not an copilot invoice
|
# not an copilot invoice
|
||||||
return
|
return
|
||||||
|
print("cunt")
|
||||||
|
|
||||||
copilot = await get_copilot(payment.extra.get("copilot", -1))
|
copilot = await get_copilot(payment.extra.get("copilotid", -1))
|
||||||
|
|
||||||
if not copilot:
|
if not copilot:
|
||||||
raise HTTPException(
|
raise HTTPException(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue