fix: allow help navigation outside help mode
This commit is contained in:
1 parent
a11b5aac64
commit
aba1eb4ced
3 files changed
+9
-8
No files matched your search
@@ -387,9 +387,6 @@ async def help_navigation(callback: CallbackQuery, state: FSMContext) -> None:
|
||||
message = callback.message
|
||||
if not isinstance(message, Message):
|
||||
return
|
||||
if await current_mode(state) != "help":
|
||||
await callback.answer("Сначала открой режим /help.", show_alert=True)
|
||||
return
|
||||
section = (callback.data or "help:menu").split(":", 1)[1]
|
||||
if not await edit_rich_message(
|
||||
message,
|
||||
|
||||
Reference in new issue
Block a user