Skip to content

Commit eaff325

Browse files
committed
compose [nfc]: Add a TODO(zulip#1238)
1 parent 3ff7096 commit eaff325

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/widgets/compose_box.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ class ComposeContentController extends ComposeController<ContentValidationError>
260260
// normalized.length is the number of UTF-16 code units, while the server
261261
// API expresses the max in Unicode code points. So this comparison will
262262
// be conservative and may cut the user off shorter than necessary.
263+
// TODO(#1238) stop cutting off shorter than necessary
263264
if (textNormalized.length > kMaxMessageLengthCodePoints)
264265
ContentValidationError.tooLong,
265266

0 commit comments

Comments
 (0)