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}")))))?;