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

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