优化:Bark发送通道消息链接支持插入变量标签(#604)

This commit is contained in:
Brian-Lynn 2025-05-11 19:50:55 +08:00 committed by GitHub
parent 45dc37aea9
commit 751f1b3163
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,7 +67,11 @@ class BarkUtils {
if (!TextUtils.isEmpty(setting.level)) msgMap["level"] = setting.level
if (!TextUtils.isEmpty(setting.sound)) msgMap["sound"] = setting.sound
if (!TextUtils.isEmpty(setting.badge)) msgMap["badge"] = setting.badge
if (!TextUtils.isEmpty(setting.url)) msgMap["url"] = setting.url
if (!TextUtils.isEmpty(setting.url)) {
val replacedUrl = msgInfo.getContentForSend(setting.url)
msgMap["url"] = replacedUrl
}
if (!TextUtils.isEmpty(setting.call)) msgMap["call"] = setting.call
//自动复制