Compare commits

..

1 commit

Author SHA1 Message Date
Johannes Marbach 5cffbf6552
Merge 4d310046a1 into 1edf62c3f1 2026-07-14 18:29:09 -04:00
4 changed files with 1 additions and 8 deletions

View file

@ -1 +0,0 @@
Use the User ID type in OlmPayload and DeviceKeys.

View file

@ -7,7 +7,7 @@
#### Server behaviour #### Server behaviour
The server MAY decide that the response to this endpoint is too large, and only return a The server MAY decide that the response to this endpoint is too large, and only return a
subset of the results. In this case, the server populates the optional field `next_batch` subset of the results. In this case, the server MUST populate the optional field `next_batch`
with an [opaque identifier](/appendices/#opaque-identifiers). The client can then supply with an [opaque identifier](/appendices/#opaque-identifiers). The client can then supply
the identifier as the `from` query parameter in a subsequent request, along with the original the identifier as the `from` query parameter in a subsequent request, along with the original
`user_id`, to fetch the next batch of responses. This will continue until the server no longer `user_id`, to fetch the next batch of responses. This will continue until the server no longer

View file

@ -20,8 +20,6 @@ properties:
description: |- description: |-
The ID of the user the device belongs to. Must match the user ID used The ID of the user the device belongs to. Must match the user ID used
when logging in. when logging in.
format: mx-user-id
pattern: "^@"
example: "@alice:example.com" example: "@alice:example.com"
device_id: device_id:
type: string type: string

View file

@ -27,13 +27,9 @@ properties:
sender: sender:
type: string type: string
description: The user ID of the event sender. description: The user ID of the event sender.
format: mx-user-id
pattern: "^@"
recipient: recipient:
type: string type: string
description: The user ID of the intended event recipient. description: The user ID of the intended event recipient.
format: mx-user-id
pattern: "^@"
recipient_keys: recipient_keys:
description: The recipient's signing keys of the encrypted event. description: The recipient's signing keys of the encrypted event.
$ref: "#/components/schemas/SigningKeys" $ref: "#/components/schemas/SigningKeys"