Remove unenforced size limit on room names (#3669)

Fixes #3641

The spec says the name field in m.room.name events must not exceed 255 bytes but no servers actually enforce this over the C-S API. Clients should probably already be truncating room names to an appropriate length for their user interface.

Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
Aaron Raimist 2022-02-22 12:36:31 -06:00 committed by Travis Ralston
parent 71601a5ff5
commit ac4a296e4c
2 changed files with 2 additions and 1 deletions

View file

@ -0,0 +1 @@
Remove unenforced size limit on the `name` field of `m.room.name` events.

View file

@ -17,7 +17,7 @@ properties:
content: content:
properties: properties:
name: name:
description: The name of the room. This MUST NOT exceed 255 bytes. description: The name of the room.
type: string type: string
required: required:
- name - name