From 6ca735cd1edab301f5e3ab223b32a14575d470ed Mon Sep 17 00:00:00 2001 From: pppscn <35696959@qq.com> Date: Tue, 26 Apr 2022 21:41:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9A=E5=8E=BB=E9=99=A4?= =?UTF-8?q?=20tg=E8=BD=AC=E5=8F=91=E2=80=98#=E2=80=98=E5=8F=B7=E8=A2=AB?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E4=B8=BA=E2=80=99=E4=BA=95=E2=80=98=EF=BC=88?= =?UTF-8?q?issues=20#142=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/idormy/sms/forwarder/sender/SenderTelegramMsg.java | 3 +-- build.gradle | 2 +- version.properties | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) 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 734f089f..bc85977d 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 @@ -43,8 +43,7 @@ public class SenderTelegramMsg extends SenderBaseMsg { return; } - //特殊处理避免标题重复 - final String finalText = text.replaceAll("#", "井").trim(); + final String finalText = text.trim(); //.replaceAll("#", "井") if (!apiToken.startsWith("http")) { apiToken = "https://api.telegram.org/bot" + apiToken + "/sendMessage"; diff --git a/build.gradle b/build.gradle index be4a0564..a4125a8a 100644 --- a/build.gradle +++ b/build.gradle @@ -10,7 +10,7 @@ buildscript { maven { url 'https://repo1.maven.org/maven2/' } } dependencies { - classpath 'com.android.tools.build:gradle:7.1.2' + classpath 'com.android.tools.build:gradle:7.1.3' classpath 'com.chenenyu:img-optimizer:1.2.0' } } diff --git a/version.properties b/version.properties index fca7f6b4..0d9ac849 100644 --- a/version.properties +++ b/version.properties @@ -1,3 +1,3 @@ #Fri Jul 16 10:33:23 CST 2021 -versionName=2.5.0 -versionCode=38 +versionName=2.4.4 +versionCode=37