Skip to content

Commit cda0925

Browse files
chrisbobbegithub-actions[bot]
authored andcommitted
compose [nfc]: Add a TODO(#1238)
1 parent d63c6af commit cda0925

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/widgets/compose_box.dart

+1
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ class ComposeContentController extends ComposeController<ContentValidationError>
264264
// normalized.length is the number of UTF-16 code units, while the server
265265
// API expresses the max in Unicode code points. So this comparison will
266266
// be conservative and may cut the user off shorter than necessary.
267+
// TODO(#1238) stop cutting off shorter than necessary
267268
if (textNormalized.length > kMaxMessageLengthCodePoints)
268269
ContentValidationError.tooLong,
269270

0 commit comments

Comments
 (0)