Compare commits

...

2 commits

Author SHA1 Message Date
Andy Balaam 0c557fe49c Convert m.key_backup.yaml to yaml 2026-04-15 16:17:34 +01:00
Andy Balaam 3b297cf7da Remove the reference to a module from the key_backup section 2026-04-15 16:06:42 +01:00
2 changed files with 25 additions and 26 deletions

View file

@ -1483,7 +1483,7 @@ potential new key backup algorithm version that would fix this issue.
{{% added-in v="1.19" %}}
This module enables clients to track a user's preference about enabling or
This enables clients to track a user's preference about enabling or
disabling [server-side backups of room keys](#server-side-key-backups). The data
is stored in the [`m.key_backup`](#mkey_backup) global
[account data](#client-config).

View file

@ -1,25 +1,24 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"title": "Key Backup Event",
"description": "Allows clients to track user preferences about key backup.",
"allOf": [{
"$ref": "core-event-schema/event.yaml"
}],
"properties": {
"type": {
"type": "string",
"enum": ["m.key_backup"]
},
"content": {
"type": "object",
"properties": {
"enabled": {
"description": "True if the user chose to enable key backup. False if the user chose to disable key backup.",
"type": "boolean",
}
},
"required": ["enabled"]
}
},
}
---
$schema: https://json-schema.org/draft/2020-12/schema
allOf:
- $ref: core-event-schema/event.yaml
description: |-
Allows clients to track user preferences about key backup.
properties:
content:
type: object
properties:
enabled:
type: boolean
description: |-
True if the user chose to enable key backup. False if the user chose
to disable key backup.
required:
- enabled
type:
type: string
enum:
- m.key_backup
title: Key Backup Event
type: object