push: Stabilize support for MSC3958

This commit is contained in:
Kévin Commaille 2023-11-30 14:28:16 +01:00 committed by Kévin Commaille
parent ec54fd99de
commit b4133b7863
4 changed files with 2 additions and 7 deletions

View file

@ -1,5 +1,7 @@
# [unreleased]
- Stabilize support for `.m.rule.suppress_edits` push rule (MSC3958 / Matrix 1.9)
# 0.12.1
Bug fixes:

View file

@ -30,7 +30,6 @@ unstable-msc2870 = []
unstable-msc3930 = []
unstable-msc3931 = []
unstable-msc3932 = ["unstable-msc3931"]
unstable-msc3958 = []
unstable-unspecified = []
# Allow IDs to exceed 255 bytes.

View file

@ -40,7 +40,6 @@ impl Ruleset {
ConditionalPushRule::tombstone(),
ConditionalPushRule::reaction(),
ConditionalPushRule::server_acl(),
#[cfg(feature = "unstable-msc3958")]
ConditionalPushRule::suppress_edits(),
#[cfg(feature = "unstable-msc3930")]
ConditionalPushRule::poll_response(),
@ -314,7 +313,6 @@ impl ConditionalPushRule {
/// Matches [event replacements].
///
/// [event replacements]: https://spec.matrix.org/latest/client-server-api/#event-replacements
#[cfg(feature = "unstable-msc3958")]
pub fn suppress_edits() -> Self {
Self {
actions: vec![],
@ -601,8 +599,6 @@ pub enum PredefinedOverrideRuleId {
RoomServerAcl,
/// `.m.rule.suppress_edits`
#[cfg(feature = "unstable-msc3958")]
#[ruma_enum(rename = ".org.matrix.msc3958.suppress_edits")]
SuppressEdits,
/// `.m.rule.poll_response`

View file

@ -212,7 +212,6 @@ unstable-msc3932 = ["ruma-common/unstable-msc3932"]
unstable-msc3954 = ["ruma-events?/unstable-msc3954"]
unstable-msc3955 = ["ruma-events?/unstable-msc3955"]
unstable-msc3956 = ["ruma-events?/unstable-msc3956"]
unstable-msc3958 = ["ruma-common/unstable-msc3958"]
unstable-msc3983 = ["ruma-client-api?/unstable-msc3983"]
unstable-msc4075 = ["ruma-events?/unstable-msc4075"]
unstable-pdu = ["ruma-events?/unstable-pdu"]
@ -258,7 +257,6 @@ __ci = [
"unstable-msc3954",
"unstable-msc3955",
"unstable-msc3956",
"unstable-msc3958",
"unstable-msc3983",
"unstable-msc4075",
]