修复Telegram手机号丢失问题

This commit is contained in:
pppscn 2021-10-31 13:49:56 +08:00
parent 1fdc8beb5b
commit 68ddbe7d60

View File

@ -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"; final String requestUrl = "https://api.telegram.org/bot" + apiToken + "/sendMessage";
Log.i(TAG, "requestUrl:" + requestUrl); Log.i(TAG, "requestUrl:" + requestUrl);