From aaf0c66ed678def3fdc1aada440a420aa7a79234 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B5=D0=BD=D0=B8=D1=81=20=D0=9A=D1=80=D0=B8=D0=B2?= =?UTF-8?q?=D0=BE=D1=87=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Thu, 30 Jul 2026 22:03:15 +0700 Subject: [PATCH] fix: set_state before email unavailable text --- instruct/handlers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/instruct/handlers.py b/instruct/handlers.py index 5b83d3f..7542df6 100644 --- a/instruct/handlers.py +++ b/instruct/handlers.py @@ -453,6 +453,7 @@ async def instruct_router_handler(msg: Message): text = INSTRUCT_EMAIL_HISTORY_ASK(EMOJI_DIGITS, cn) await msg.answer(text, parse_mode="html") else: + set_state(user_id, "INSTRUCT_EMAIL_VIEW") text = INSTRUCT_EMAIL_UNAVAILABLE(EMOJI_DIGITS, cn) await msg.answer(text, parse_mode="html") else: @@ -534,3 +535,4 @@ async def instruct_router_handler(msg: Message): await msg.answer(UNKNOWN_MAIN_CMD_TEXT, parse_mode="html") +