mirror of
https://github.com/pppscn/SmsForwarder
synced 2024-11-06 03:20:34 +00:00
修复Telegram手机号丢失问题
This commit is contained in:
parent
1fdc8beb5b
commit
68ddbe7d60
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user