mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-21 21:45:21 -05:00
Allow long sms in PromoSMS
This commit is contained in:
parent
cc4ed308b0
commit
ecd661c801
@ -20,6 +20,7 @@ class PromoSMS extends NotificationProvider {
|
|||||||
"recipients": [ notification.promosmsPhoneNumber ],
|
"recipients": [ notification.promosmsPhoneNumber ],
|
||||||
//Lets remove non ascii char
|
//Lets remove non ascii char
|
||||||
"text": msg.replace(/[^\x00-\x7F]/g, ""),
|
"text": msg.replace(/[^\x00-\x7F]/g, ""),
|
||||||
|
"long-sms": true,
|
||||||
"type": Number(notification.promosmsSMSType),
|
"type": Number(notification.promosmsSMSType),
|
||||||
"sender": notification.promosmsSenderName
|
"sender": notification.promosmsSenderName
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user