fix(bot): issue #130 — crypto deposit photo-edit 400, chat cleanup via lastInlineMessageId
- depositHandler: handleDepositInstruction + handleDepositSelectWallet use editOrSendCallback (photo-safe fallback) — fixes 'no text in the message to edit' 400 - resetUserContext deletes lastInlineMessageId (stale inline menus cleaned on Reply Keyboard nav) - showProducts/showProfile/showBalance/showPurchases store lastInlineMessageId on sendMessage - answerCallbackQuery verified before dispatch (v1.2.4) - 48 tests pass; bump v1.2.5
This commit is contained in:
@@ -9,10 +9,15 @@
|
||||
|
||||
## Current Version
|
||||
|
||||
**v1.2.4** — 2026-08-05
|
||||
**v1.2.5** — 2026-08-05
|
||||
|
||||
## Changelog
|
||||
|
||||
### v1.2.5 — 2026-08-05
|
||||
- **fix**: crypto deposit error — handleDepositInstruction/handleDepositSelectWallet use editOrSendCallback (photo-safe fallback, fixes "no text in the message to edit" 400)
|
||||
- **fix**: chat clutter — lastInlineMessageId tracked in showProducts/showProfile/showBalance/showPurchases and deleted in resetUserContext
|
||||
- **verify**: answerCallbackQuery before dispatch in all callback paths (v1.2.4)
|
||||
|
||||
### v1.2.4 — 2026-08-05
|
||||
- **fix**: missing `shop_district_` / `shop_subcategory_` callback handlers — Back button in empty categories now works (handleDistrictBack)
|
||||
- **fix**: state.location pipe-delimited (encodeURIComponent) — multi-word names (Saint Petersburg) no longer break navigation
|
||||
|
||||
Reference in New Issue
Block a user