Allow long sms in PromoSMS

pull/2586/head
Luke 2 years ago committed by GitHub
parent cc4ed308b0
commit ecd661c801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save