Skip to content

Commit ac4a296

Browse files
aaronraimistturt2live
authored andcommitted
Remove unenforced size limit on room names (matrix-org#3669)
Fixes matrix-org#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 <[email protected]>
1 parent 71601a5 commit ac4a296

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove unenforced size limit on the `name` field of `m.room.name` events.

data/event-schemas/schema/m.room.name.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ properties:
1717
content:
1818
properties:
1919
name:
20-
description: The name of the room. This MUST NOT exceed 255 bytes.
20+
description: The name of the room.
2121
type: string
2222
required:
2323
- name

0 commit comments

Comments
 (0)