You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
975 B
YAML
37 lines
975 B
YAML
![]()
6 years ago
|
---
|
||
|
allOf:
|
||
|
- $ref: core-event-schema/state_event.yaml
|
||
|
description: Defines how messages sent in this room should be encrypted.
|
||
|
properties:
|
||
|
content:
|
||
|
properties:
|
||
|
algorithm:
|
||
|
type: string
|
||
![]()
6 years ago
|
enum:
|
||
|
- "m.megolm.v1.aes-sha2"
|
||
![]()
6 years ago
|
description: |-
|
||
|
The encryption algorithm to be used to encrypt messages sent in this
|
||
![]()
6 years ago
|
room.
|
||
![]()
6 years ago
|
rotation_period_ms:
|
||
|
type: integer
|
||
|
description: |-
|
||
|
How long the session should be used before changing it. ``604800000``
|
||
|
(a week) is the recommended default.
|
||
|
rotation_period_msgs:
|
||
|
type: integer
|
||
|
description: |-
|
||
|
How many messages should be sent before changing the session. ``100`` is the
|
||
|
recommended default.
|
||
![]()
6 years ago
|
required:
|
||
|
- algorithm
|
||
|
type: object
|
||
|
state_key:
|
||
|
description: A zero-length string.
|
||
|
pattern: '^$'
|
||
|
type: string
|
||
|
type:
|
||
|
enum:
|
||
|
- m.room.encryption
|
||
|
type: string
|
||
|
type: object
|