From 93da699a0fbbecaa068cef39ae6e32ac49eafc15 Mon Sep 17 00:00:00 2001 From: mamad Date: Sun, 30 Aug 2026 00:08:21 +0330 Subject: [PATCH] =?UTF-8?q?AI=20Update:=20=D8=A8=D8=B1=D9=88=20=D8=A8?= =?UTF-8?q?=D8=B9=D8=AF=DB=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/proxy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/proxy.py b/core/proxy.py index 27f6486..d01bffb 100644 --- a/core/proxy.py +++ b/core/proxy.py @@ -2,8 +2,8 @@ import os from typing import Optional, Dict, Any def get_telegram_proxy() -> Optional[Dict[str, Any]]: - # Only enable proxy if TELEGRAM_PROXY_ENABLE is 'true' or if local port 10809/10808 is requested - enable = os.getenv("TELEGRAM_PROXY_ENABLE", "true").lower() in ("true", "1", "yes") + # Only enable proxy if TELEGRAM_PROXY_ENABLE is 'true' + enable = os.getenv("TELEGRAM_PROXY_ENABLE", "false").lower() in ("true", "1", "yes") if not enable: return None