We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ff7096 commit eaff325Copy full SHA for eaff325
lib/widgets/compose_box.dart
@@ -260,6 +260,7 @@ class ComposeContentController extends ComposeController<ContentValidationError>
260
// normalized.length is the number of UTF-16 code units, while the server
261
// API expresses the max in Unicode code points. So this comparison will
262
// be conservative and may cut the user off shorter than necessary.
263
+ // TODO(#1238) stop cutting off shorter than necessary
264
if (textNormalized.length > kMaxMessageLengthCodePoints)
265
ContentValidationError.tooLong,
266
0 commit comments