From 8354e38e89861affb0e128343ffe4fa6150ba3f9 Mon Sep 17 00:00:00 2001 From: Xiaolan Bot Date: Sun, 22 Feb 2026 01:27:11 +0800 Subject: [PATCH] fix: tighten callback pattern for id-based category routing --- SubMind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SubMind.py b/SubMind.py index a667cd9..13584c9 100644 --- a/SubMind.py +++ b/SubMind.py @@ -1373,7 +1373,7 @@ def main(): fallbacks=[CommandHandler('cancel', cancel)] ) - button_pattern = r'^(view_\d+|renewmanual_\d+|delete_\d+|confirmdelete_\d+|renewfromremind_\d+|list_subs_in_category_.+|list_categories|list_all_subs)$' + button_pattern = r'^(view_\d+|renewmanual_\d+|delete_\d+|confirmdelete_\d+|renewfromremind_\d+|list_subs_in_category_id_\d+|list_categories|list_all_subs)$' application.add_handler(CommandHandler('start', start)) application.add_handler(CommandHandler('help', help_command))