diff --git a/server/notification-providers/promosms.js b/server/notification-providers/promosms.js index a9e7631eb..6992171be 100644 --- a/server/notification-providers/promosms.js +++ b/server/notification-providers/promosms.js @@ -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 }; diff --git a/src/components/notifications/PromoSMS.vue b/src/components/notifications/PromoSMS.vue index 03c02222d..9fe9c2172 100644 --- a/src/components/notifications/PromoSMS.vue +++ b/src/components/notifications/PromoSMS.vue @@ -26,6 +26,10 @@ +
+ + +