mirror of
https://github.com/pppscn/SmsForwarder
synced 2025-08-01 16:37:42 +08:00
优化:Bark
发送通道消息链接
支持插入变量标签
(#604)
This commit is contained in:
parent
45dc37aea9
commit
751f1b3163
@ -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
|
||||
|
||||
//自动复制
|
||||
|
Loading…
x
Reference in New Issue
Block a user