From 6adb99397ec7b0577aa4158d71a481fb86a1ed9a Mon Sep 17 00:00:00 2001 From: timedout Date: Fri, 27 Feb 2026 17:03:19 +0000 Subject: [PATCH] feat: Remove MSC4010 support --- src/api/client/account_data.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/api/client/account_data.rs b/src/api/client/account_data.rs index e44ce4e7..779a1340 100644 --- a/src/api/client/account_data.rs +++ b/src/api/client/account_data.rs @@ -126,12 +126,6 @@ async fn set_account_data( ))); } - if event_type_s == GlobalAccountDataEventType::PushRules.to_cow_str() { - return Err!(Request(BadJson( - "This endpoint cannot be used for setting/configuring push rules." - ))); - } - let data: serde_json::Value = serde_json::from_str(data.get()) .map_err(|e| err!(Request(BadJson(warn!("Invalid JSON provided: {e}")))))?;