mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-10-25 07:39:22 +08:00 
			
		
		
		
	Allow long sms in PromoSMS
This commit is contained in:
		| @@ -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 | ||||||
|             }; |             }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user