From 0e4f9c1ce0127a29ec8fc610ea5a2ac8065f4fc8 Mon Sep 17 00:00:00 2001 From: Egor Date: Sat, 17 Jan 2026 03:07:06 +0300 Subject: [PATCH] Update happ.py --- app/handlers/subscription/happ.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/handlers/subscription/happ.py b/app/handlers/subscription/happ.py index 299a10bf..ee020d80 100644 --- a/app/handlers/subscription/happ.py +++ b/app/handlers/subscription/happ.py @@ -151,6 +151,11 @@ async def handle_happ_download_back( db_user: User, db: AsyncSession ): + # Проверяем, доступно ли сообщение для редактирования + if isinstance(callback.message, InaccessibleMessage): + await callback.answer() + return + texts = get_texts(db_user.language) prompt_text = texts.t( "HAPP_DOWNLOAD_PROMPT",