Setting for allowing long sms

This commit is contained in:
Luke
2023-01-11 12:13:47 +01:00
committed by GitHub
parent ecd661c801
commit 2172112144
4 changed files with 7 additions and 1 deletions

View File

@@ -20,7 +20,7 @@ class PromoSMS extends NotificationProvider {
"recipients": [ notification.promosmsPhoneNumber ],
//Lets remove non ascii char
"text": msg.replace(/[^\x00-\x7F]/g, ""),
"long-sms": true,
"long-sms": notification.promosmsAllowLong,
"type": Number(notification.promosmsSMSType),
"sender": notification.promosmsSenderName
};