applied formatting
This commit is contained in:
parent
b9056384f9
commit
b2e70fd801
1 changed files with 4 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue