260803_04_BUG: 본문 바이트 크기 비교 부등호 방향 버그

This commit is contained in:
2026-08-03 16:47:35 +09:00
parent ec243e93c4
commit b4d2595d87

View File

@@ -149,7 +149,7 @@ public final class TemplateContentSanitizer {
public static SendType determineSms(String outTitle, String outBody){
boolean hasTitle = StringUtil.hasText(outTitle);
boolean isLargeBody = utf8ByteLength(outBody) <= SMS_MAX_BYTES_UTF8;
boolean isLargeBody = utf8ByteLength(outBody) >= SMS_MAX_BYTES_UTF8;
return hasTitle || isLargeBody ? SendType.LMS_MMS : SendType.SMS;
}