mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-05-02 07:04:09 +02:00
Compare commits
2 commits
b80c6238b1
...
0c557fe49c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0c557fe49c | ||
|
|
3b297cf7da |
|
|
@ -1483,7 +1483,7 @@ potential new key backup algorithm version that would fix this issue.
|
||||||
|
|
||||||
{{% added-in v="1.19" %}}
|
{{% 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
|
disabling [server-side backups of room keys](#server-side-key-backups). The data
|
||||||
is stored in the [`m.key_backup`](#mkey_backup) global
|
is stored in the [`m.key_backup`](#mkey_backup) global
|
||||||
[account data](#client-config).
|
[account data](#client-config).
|
||||||
|
|
|
||||||
|
|
@ -1,25 +1,24 @@
|
||||||
{
|
---
|
||||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
$schema: https://json-schema.org/draft/2020-12/schema
|
||||||
"type": "object",
|
|
||||||
"title": "Key Backup Event",
|
allOf:
|
||||||
"description": "Allows clients to track user preferences about key backup.",
|
- $ref: core-event-schema/event.yaml
|
||||||
"allOf": [{
|
description: |-
|
||||||
"$ref": "core-event-schema/event.yaml"
|
Allows clients to track user preferences about key backup.
|
||||||
}],
|
properties:
|
||||||
"properties": {
|
content:
|
||||||
"type": {
|
type: object
|
||||||
"type": "string",
|
properties:
|
||||||
"enum": ["m.key_backup"]
|
enabled:
|
||||||
},
|
type: boolean
|
||||||
"content": {
|
description: |-
|
||||||
"type": "object",
|
True if the user chose to enable key backup. False if the user chose
|
||||||
"properties": {
|
to disable key backup.
|
||||||
"enabled": {
|
required:
|
||||||
"description": "True if the user chose to enable key backup. False if the user chose to disable key backup.",
|
- enabled
|
||||||
"type": "boolean",
|
type:
|
||||||
}
|
type: string
|
||||||
},
|
enum:
|
||||||
"required": ["enabled"]
|
- m.key_backup
|
||||||
}
|
title: Key Backup Event
|
||||||
},
|
type: object
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue