Skip to content

Commit e5fd40d

Browse files
turt2liverichvdh
authored andcommitted
Fix event size restriction (#3127)
Fixes #3126
1 parent 61f0cf0 commit e5fd40d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix the maximum event size restriction (65535 bytes -> 65536).

content/client-server-api/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,7 +1447,7 @@ following fields.
14471447

14481448
### Size limits
14491449

1450-
The complete event MUST NOT be larger than 65535 bytes, when formatted
1450+
The complete event MUST NOT be larger than 65536 bytes, when formatted
14511451
as a [PDU for the Server-Server
14521452
protocol](/server-server-api/#pdus), including any
14531453
signatures, and encoded as [Canonical
@@ -1463,7 +1463,7 @@ There are additional restrictions on sizes per key:
14631463

14641464
Some event types have additional size restrictions which are specified
14651465
in the description of the event. Additional keys have no limit other
1466-
than that implied by the total 65 KB limit on events.
1466+
than that implied by the total 64 KiB limit on events.
14671467

14681468
### Room Events
14691469

0 commit comments

Comments
 (0)