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.
matrix-spec-proposals/data/event-schemas/schema/m.room.history_visibility.yaml

29 lines
674 B
YAML

---
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