优化:去除 tg转发‘#‘号被替换为’井‘(issues #142)

This commit is contained in:
pppscn 2022-04-26 21:41:21 +08:00
parent 30f9ed71a7
commit 6ca735cd1e
3 changed files with 4 additions and 5 deletions

View File

@ -43,8 +43,7 @@ public class SenderTelegramMsg extends SenderBaseMsg {
return; return;
} }
//特殊处理避免标题重复 final String finalText = text.trim(); //.replaceAll("#", "")
final String finalText = text.replaceAll("#", "").trim();
if (!apiToken.startsWith("http")) { if (!apiToken.startsWith("http")) {
apiToken = "https://api.telegram.org/bot" + apiToken + "/sendMessage"; apiToken = "https://api.telegram.org/bot" + apiToken + "/sendMessage";

View File

@ -10,7 +10,7 @@ buildscript {
maven { url 'https://repo1.maven.org/maven2/' } maven { url 'https://repo1.maven.org/maven2/' }
} }
dependencies { 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' classpath 'com.chenenyu:img-optimizer:1.2.0'
} }
} }

View File

@ -1,3 +1,3 @@
#Fri Jul 16 10:33:23 CST 2021 #Fri Jul 16 10:33:23 CST 2021
versionName=2.5.0 versionName=2.4.4
versionCode=38 versionCode=37