From 3a47f58495ca5ebf01d6647fb05ed07edb91aef2 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 21 Mar 2024 17:26:48 -0400 Subject: [PATCH] Refer to the error response --- content/client-server-api/modules/account_data.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/content/client-server-api/modules/account_data.md b/content/client-server-api/modules/account_data.md index f7cb8d72..3068602d 100644 --- a/content/client-server-api/modules/account_data.md +++ b/content/client-server-api/modules/account_data.md @@ -26,10 +26,11 @@ These events can also be received in a `/events` response or in the #### Server Behaviour -Servers MUST reject clients from setting account data for event types -that the server manages. Currently, this only includes -[`m.fully_read`](#mfully_read) and [`m.push_rules`](#push-rules-events). -This applies to both global and room-specific account data. +Servers MUST reject setting account data for event types +that the server manages by using a 405 error response. +Currently, this only includes [`m.fully_read`](#mfully_read) +and [`m.push_rules`](#push-rules-events). This applies to +both global and room-specific account data. {{% boxes/note %}} {{% changed-in v="1.10" %}} `m.push_rules` was added to the rejection