From cd0b114f1339e9f3dcf83ed74c923ce8fd4e95a5 Mon Sep 17 00:00:00 2001 From: stason200711 <91085195+stason200711@users.noreply.github.com> Date: Sat, 28 Mar 2026 09:52:37 +0300 Subject: [PATCH] Update db_handler.py --- contact/utilities/db_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contact/utilities/db_handler.py b/contact/utilities/db_handler.py index f220e49..d10fb26 100644 --- a/contact/utilities/db_handler.py +++ b/contact/utilities/db_handler.py @@ -380,8 +380,8 @@ def is_chat_archived(user_id: int) -> int: except sqlite3.Error as e: logging.error(f"SQLite error in is_chat_archived: {e}") - return "0" + return "Unknown" except Exception as e: logging.error(f"Unexpected error in is_chat_archived: {e}") - return "0" + return "Unknown"