Make sure version in x-changedInMatrixVersion is a string (#1562)

pull/1578/head
Kévin Commaille 12 months ago committed by GitHub
parent 7a142936f5
commit adff3faa35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1 @@
Make sure version in x-changedInMatrixVersion is a string.

@ -104,7 +104,7 @@ properties:
by the local homeserver, and is only returned if the event is a state event, by the local homeserver, and is only returned if the event is a state event,
and the client has permission to see the previous content. and the client has permission to see the previous content.
x-changedInMatrixVersion: x-changedInMatrixVersion:
1.2: | "1.2": |
Previously, this field was specified at the top level of returned Previously, this field was specified at the top level of returned
events rather than in `unsigned` (with the exception of the [`GET events rather than in `unsigned` (with the exception of the [`GET
.../notifications`](/client-server-api/#get_matrixclientv3notifications) .../notifications`](/client-server-api/#get_matrixclientv3notifications)

@ -35,7 +35,7 @@ properties:
previous previous versions of the spec, so a missing value should be previous previous versions of the spec, so a missing value should be
treated as `user_hangup`. treated as `user_hangup`.
x-changedInMatrixVersion: x-changedInMatrixVersion:
1.7: |- "1.7": |-
Additional values were added. Additional values were added.
enum: enum:
- ice_timeout - ice_timeout

@ -2,7 +2,7 @@ type: object
title: Receipt Event title: Receipt Event
description: Informs the client of new receipts. description: Informs the client of new receipts.
x-changedInMatrixVersion: x-changedInMatrixVersion:
1.4: | "1.4": |
Added `m.read.private` receipts to the event's `content`. Added `m.read.private` receipts to the event's `content`.
allOf: allOf:
- $ref: "core-event-schema/event.yaml" - $ref: "core-event-schema/event.yaml"

@ -42,7 +42,7 @@ properties:
sender_key: sender_key:
type: string type: string
x-changedInMatrixVersion: x-changedInMatrixVersion:
1.3: |- "1.3": |-
Previously this field was required, however given it offers no additional Previously this field was required, however given it offers no additional
security or privacy benefit it has been deprecated for Megolm messages. security or privacy benefit it has been deprecated for Megolm messages.
See [`m.megolm.v1.aes-sha2`](#mmegolmv1aes-sha2) for more information. See [`m.megolm.v1.aes-sha2`](#mmegolmv1aes-sha2) for more information.
@ -57,7 +57,7 @@ properties:
device_id: device_id:
type: string type: string
x-changedInMatrixVersion: x-changedInMatrixVersion:
1.3: |- "1.3": |-
Previously this field was required for Megolm messages, however given it Previously this field was required for Megolm messages, however given it
offers no additional security or privacy benefit it has been deprecated offers no additional security or privacy benefit it has been deprecated
for Megolm messages. See [`m.megolm.v1.aes-sha2`](#mmegolmv1aes-sha2) for for Megolm messages. See [`m.megolm.v1.aes-sha2`](#mmegolmv1aes-sha2) for

@ -24,7 +24,7 @@ properties:
sender_key: sender_key:
type: string type: string
x-changedInMatrixVersion: x-changedInMatrixVersion:
1.3: |- "1.3": |-
Previously this field was required, however given it offers no additional Previously this field was required, however given it offers no additional
security or privacy benefit it has been deprecated. See [`m.megolm.v1.aes-sha2`](#mmegolmv1aes-sha2) security or privacy benefit it has been deprecated. See [`m.megolm.v1.aes-sha2`](#mmegolmv1aes-sha2)
for more information. for more information.

Loading…
Cancel
Save