fix: 修复消息内容存在()<>等括号情况下无法发送tg通知的bug

pull/436/head
xiaojunnuo 2025-06-13 00:24:55 +08:00
parent 43c7a19849
commit c937583a50
1 changed files with 6 additions and 2 deletions

View File

@ -121,9 +121,13 @@ export abstract class BaseNotification implements INotification {
async onTestRequest() {
return await this.doSend({
userId: 0,
title: "【Certd】测试通知【*.foo.com】标题长度测试、测试、测试",
content: `测试通知,*.foo.com
title: "【标题】测试通知【*.foo.com】标题长度测试、测试、测试",
content: `测试通知
: *.foo.com
()
<>
[]
`,
pipeline: {
id: 1,