Compare commits

...

3 commits

Author SHA1 Message Date
Mathieu Velten 1b6197f998
Merge b47858b981 into 9c014a9045 2026-03-31 23:21:19 +01:00
No. 9c014a9045
Clarify SAS commitment calculation (#2344)
Signed-off-by: tusooa <tusooa@kazv.moe>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2026-03-31 22:20:49 +00:00
Mathieu Velten b47858b981
Add 413 error to /sendToDevice 2026-03-20 17:32:14 +01:00
3 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1 @@
Clarify SAS commitment calculation for `m.key.verification.accept` messages.

View file

@ -82,6 +82,18 @@ paths:
examples:
response:
value: {}
"413":
description: At least one device message is too large to fit in a single EDU.
content:
application/json:
schema:
$ref: definitions/errors/error.yaml
examples:
response:
value: {
"errcode": "M_TOO_LARGE",
"error": "device message to @test:example.com too large to fit in a single EDU"
}
tags:
- Send-to-Device messaging
servers:

View file

@ -44,7 +44,8 @@ properties:
description: |-
The hash (encoded as unpadded base64) of the concatenation of the device's
ephemeral public key (encoded as unpadded base64) and the canonical JSON
representation of the `m.key.verification.start` message.
representation of the `content` object of the `m.key.verification.start`
message.
m.relates_to:
$ref: m.key.verification.m.relates_to.yaml
required: