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:
Kegsay 2016-03-10 14:05:42 +00:00
commit 506accee27

View file

@ -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
++++++++