From 5407cc8e05be23631aa009e99f9a15bd4507b045 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Fri, 4 Mar 2016 14:41:30 +0000 Subject: [PATCH] Add a snippet of documentation for a m.push_rules event. --- specification/modules/push.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/modules/push.rst b/specification/modules/push.rst index 2a8308d8..c6bad28c 100644 --- a/specification/modules/push.rst +++ b/specification/modules/push.rst @@ -336,6 +336,14 @@ using the APIs below. {{pushrules_http_api}} + +Push Rules: Events +~~~~~~~~~~~~~~~~~~ + +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 ++++++++