Merge pull request #288 from matrix-org/markjh/pushrule_stream

Add a snippet of documentation for a m.push_rules event.
pull/977/head
Kegsay 8 years ago
commit 506accee27

@ -336,6 +336,14 @@ using the APIs below.
{{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
++++++++

Loading…
Cancel
Save