Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start: /cancelall shouldn't just cancel pendings #502

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

knocte
Copy link
Contributor

@knocte knocte commented Apr 20, 2024

The /cancelall command only cancels the PENDING orders. We should also cancel WAITING_BUYER_INVOICE and WAITING_PAYMENT orders, just like we do with the /cancel command [1].

[1] e.g.: see 90978d4 and 07cf16c

Fixes: #483

The `/cancelall` command only cancels the `PENDING` orders.
We should also cancel `WAITING_BUYER_INVOICE` and `WAITING_PAYMENT`
orders, just like we do with the `/cancel` command [1].

[1] e.g.: see 90978d4 and
07cf16c

Fixes: lnp2pBot#483
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bot shouldn't message with "You haven't paid the invoice :-/ ..." if the user has cancelled the order already
2 participants