spec notifications key on power level event and provide @room in example

This commit is contained in:
Michael Telatynski 2018-04-15 22:35:44 +01:00
parent 04eb6c7b65
commit 1e656d836e
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E
2 changed files with 12 additions and 1 deletions

View file

@ -14,7 +14,10 @@
"users": {
"@example:localhost": 100
},
"users_default": 0
"users_default": 0,
"notifications": {
"room": 20
}
},
"state_key": "",
"origin_server_ts": 1431961217939,

View file

@ -85,6 +85,14 @@ properties:
``user_id`` is mentioned in the ``users`` key. Defaults to 0 if
unspecified.
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
state_key:
description: A zero-length string.