mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-17 21:03:42 +01:00
We've decided to make the event schemas YAML, so we might as well take advantage of it. (This conversion was done mostly automatically, except for: - s/null/"null"/ in m.room.member - reformat description in m.room.power_levels
29 lines
674 B
Plaintext
29 lines
674 B
Plaintext
---
|
|
allOf:
|
|
- $ref: core-event-schema/state_event.yaml
|
|
description: This event controls whether a user can see the events that happened in a room from before they joined.
|
|
properties:
|
|
content:
|
|
properties:
|
|
history_visibility:
|
|
description: Who can see the room history.
|
|
enum:
|
|
- invited
|
|
- joined
|
|
- shared
|
|
- world_readable
|
|
type: string
|
|
required:
|
|
- history_visibility
|
|
type: object
|
|
state_key:
|
|
description: A zero-length string.
|
|
pattern: '^$'
|
|
type: string
|
|
type:
|
|
enum:
|
|
- m.room.history_visibility
|
|
type: string
|
|
title: Controls visibility of history.
|
|
type: object
|