mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-01 09:14:10 +01:00
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
|
|
@ -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…
Reference in a new issue