Merge pull request #288 from matrix-org/markjh/pushrule_stream
Add a snippet of documentation for a m.push_rules event.
This commit is contained in:
commit
506accee27
1 changed files with 8 additions and 0 deletions
|
@ -336,6 +336,14 @@ using the APIs below.
|
||||||
|
|
||||||
{{pushrules_cs_http_api}}
|
{{pushrules_cs_http_api}}
|
||||||
|
|
||||||
|
|
||||||
|
Push Rules: Events
|
||||||
|
~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
When a user changes their push rules a ``m.push_rules`` event is sent to all
|
||||||
|
clients in the ``account_data`` section of their next ``/sync`` request. The
|
||||||
|
content of the event is the current push rules for the user.
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
++++++++
|
++++++++
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue