applied formatting

This commit is contained in:
Lucass 2019-04-08 22:51:22 +03:00
parent b9056384f9
commit b2e70fd801

View file

@ -766,8 +766,7 @@ public class SmsCommunicatorPlugin extends PluginBase {
log.debug("Sending SMS to " + sms.phoneNumber + ": " + sms.text);
if (sms.text.getBytes().length <= 140)
smsManager.sendTextMessage(sms.phoneNumber, null, sms.text, null, null);
else
{
else {
ArrayList<String> parts = smsManager.divideMessage(sms.text);
smsManager.sendMultipartTextMessage(sms.phoneNumber, null, parts,
null, null);