mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-28 10:03:43 +01:00
spec notifications key on power level event and provide @room in example
This commit is contained in:
parent
04eb6c7b65
commit
1e656d836e
|
|
@ -14,7 +14,10 @@
|
||||||
"users": {
|
"users": {
|
||||||
"@example:localhost": 100
|
"@example:localhost": 100
|
||||||
},
|
},
|
||||||
"users_default": 0
|
"users_default": 0,
|
||||||
|
"notifications": {
|
||||||
|
"room": 20
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"state_key": "",
|
"state_key": "",
|
||||||
"origin_server_ts": 1431961217939,
|
"origin_server_ts": 1431961217939,
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,14 @@ properties:
|
||||||
``user_id`` is mentioned in the ``users`` key. Defaults to 0 if
|
``user_id`` is mentioned in the ``users`` key. Defaults to 0 if
|
||||||
unspecified.
|
unspecified.
|
||||||
type: number
|
type: number
|
||||||
|
notifications:
|
||||||
|
additionalProperties:
|
||||||
|
type: number
|
||||||
|
description: |-
|
||||||
|
The power level requirements for specific notification types.
|
||||||
|
This is a mapping from ``key`` to power level for that notifications key.
|
||||||
|
title: Notification power level requirements
|
||||||
|
type: object
|
||||||
type: object
|
type: object
|
||||||
state_key:
|
state_key:
|
||||||
description: A zero-length string.
|
description: A zero-length string.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue