Skip to content

Commit

Permalink
compose [nfc]: Add a TODO(zulip#1238)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbobbe committed Dec 30, 2024
1 parent 3ff7096 commit eaff325
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/widgets/compose_box.dart
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ class ComposeContentController extends ComposeController<ContentValidationError>
// normalized.length is the number of UTF-16 code units, while the server
// API expresses the max in Unicode code points. So this comparison will
// be conservative and may cut the user off shorter than necessary.
// TODO(#1238) stop cutting off shorter than necessary
if (textNormalized.length > kMaxMessageLengthCodePoints)
ContentValidationError.tooLong,

Expand Down

0 comments on commit eaff325

Please sign in to comment.