Skip to content

Commit

Permalink
Do not allow setting m.push_rules account data directly.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Mar 21, 2024
1 parent 6700f5d commit eebb9ca
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion content/client-server-api/modules/account_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@ These events can also be received in a `/events` response or in the

Servers MUST reject clients from setting account data for event types
that the server manages. Currently, this only includes
[m.fully\_read](#mfully_read).
[`m.fully_read`](#mfully_read) and [`m.push_rules`](#mfully_read).
This applies to both global and room-specific account data.

Servers must allow clients to read the above event types as normal. Note that
`m.fully_read` only exists for room-specific account data and `m.push_rules`
only exists for global account data.

0 comments on commit eebb9ca

Please sign in to comment.