From 85982e7d35811cdfc20cfaae517d59c77db5f2ca Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sun, 21 Sep 2025 21:23:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=20Telegram=20?= =?UTF-8?q?=E4=B8=8B=E6=B5=81=E5=BC=8F=E4=BC=A0=E8=BE=93=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E7=AC=AC=E4=B8=80=E6=AC=A1=E8=BE=93=E5=87=BA=E7=9A=84=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E4=BC=9A=E8=A2=AB=E8=A6=86=E7=9B=96=E6=8E=89=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixes: #2481 --- astrbot/core/platform/sources/telegram/tg_event.py | 1 - 1 file changed, 1 deletion(-) diff --git a/astrbot/core/platform/sources/telegram/tg_event.py b/astrbot/core/platform/sources/telegram/tg_event.py index 62e1998f7..6784cfa3c 100644 --- a/astrbot/core/platform/sources/telegram/tg_event.py +++ b/astrbot/core/platform/sources/telegram/tg_event.py @@ -218,7 +218,6 @@ async def send_streaming(self, generator, use_fallback: bool = False): try: msg = await self.client.send_message(text=delta, **payload) current_content = delta - delta = "" except Exception as e: logger.warning(f"发送消息失败(streaming): {e!s}") message_id = msg.message_id