From 68ddbe7d6073b2e5083b4ec9727e6704971b1581 Mon Sep 17 00:00:00 2001 From: pppscn <35696959@qq.com> Date: Sun, 31 Oct 2021 13:49:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DTelegram=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E5=8F=B7=E4=B8=A2=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/idormy/sms/forwarder/sender/SenderTelegramMsg.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/idormy/sms/forwarder/sender/SenderTelegramMsg.java b/app/src/main/java/com/idormy/sms/forwarder/sender/SenderTelegramMsg.java index 07b88ef9..a9f065b4 100644 --- a/app/src/main/java/com/idormy/sms/forwarder/sender/SenderTelegramMsg.java +++ b/app/src/main/java/com/idormy/sms/forwarder/sender/SenderTelegramMsg.java @@ -38,7 +38,7 @@ public class SenderTelegramMsg extends SenderBaseMsg { } //特殊处理避免标题重复 - text = text.replaceFirst("^" + from + "(.*)", "").replaceAll("#", "井").trim(); + text = text.replaceAll("#", "井").trim(); final String requestUrl = "https://api.telegram.org/bot" + apiToken + "/sendMessage"; Log.i(TAG, "requestUrl:" + requestUrl);