Skip to content
New issue

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

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

Already on GitHub? # to your account

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

Merged
merged 1 commit into from
May 16, 2024

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
Copy link
Member

@grunch grunch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!! 💯

@grunch grunch merged commit d68ffd3 into lnp2pBot:main May 16, 2024
4 checks passed
grunch added a commit that referenced this pull request May 16, 2024
@grunch grunch mentioned this pull request May 16, 2024
grunch added a commit that referenced this pull request May 16, 2024
# for free to join this conversation on GitHub. Already have an account? # 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
3 participants