Conversation
Half-Shot
reviewed
Sep 10, 2026
Half-Shot
left a comment
Member
There was a problem hiding this comment.
We probably also want to have limits on the rendering side, so clients can't send more than 30 characters to us. I suspect just having it ellipsis is fine.
Member
|
I think the MSC should be updated first |
Member
|
I've added 30 characters as a guideline max length (matrix-org/matrix-spec-proposals@13b108d): @t3chguy does that seem okay to you? |
Member
dbkr
reviewed
Sep 15, 2026
Native input maxLength counts UTF-16 code units, so emoji was clipped. Limit composed and received status text by grapheme cluster instead.
dbkr
reviewed
Sep 15, 2026
dbkr
reviewed
Sep 15, 2026
dbkr
reviewed
Sep 15, 2026
Keep the grapheme-aware input limit and 256-byte protocol cap. Drop display-time ellipsis so that can be done with CSS later.
dbkr
approved these changes
Sep 16, 2026
Merged
via the queue into
element-hq:develop
with commit Sep 16, 2026
b5fce7f
59 of 61 checks passed
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes #34983
The custom status editor did not enforce the product's 30-character limit. Add the native maxLength constraint and a regression test.