mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-22 14:03:42 +01:00
22 lines
835 B
YAML
22 lines
835 B
YAML
---
|
|
$schema: https://json-schema.org/draft/2020-12/schema
|
|
allOf:
|
|
- $ref: core-event-schema/event.yaml
|
|
- title: Invite Permission
|
|
type: object
|
|
description: |-
|
|
The permission configuration for receiving invites for the current account.
|
|
properties:
|
|
content:
|
|
type: object
|
|
properties:
|
|
default_action:
|
|
type: string
|
|
description: |-
|
|
When set to `block`, the user does not wish to receive *any* room invites, and they
|
|
should be rejected automatically by the homeserver.
|
|
|
|
A missing, invalid or unsupported value means that the user wants to receive invites
|
|
as normal. Other parts of the specification might still have effects on invites, like
|
|
[ignoring users](/client-server-api/#ignoring-users).
|