push: Stabilize support for MSC3958
This commit is contained in:
parent
ec54fd99de
commit
b4133b7863
@ -1,5 +1,7 @@
|
|||||||
# [unreleased]
|
# [unreleased]
|
||||||
|
|
||||||
|
- Stabilize support for `.m.rule.suppress_edits` push rule (MSC3958 / Matrix 1.9)
|
||||||
|
|
||||||
# 0.12.1
|
# 0.12.1
|
||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
|
@ -30,7 +30,6 @@ unstable-msc2870 = []
|
|||||||
unstable-msc3930 = []
|
unstable-msc3930 = []
|
||||||
unstable-msc3931 = []
|
unstable-msc3931 = []
|
||||||
unstable-msc3932 = ["unstable-msc3931"]
|
unstable-msc3932 = ["unstable-msc3931"]
|
||||||
unstable-msc3958 = []
|
|
||||||
unstable-unspecified = []
|
unstable-unspecified = []
|
||||||
|
|
||||||
# Allow IDs to exceed 255 bytes.
|
# Allow IDs to exceed 255 bytes.
|
||||||
|
@ -40,7 +40,6 @@ impl Ruleset {
|
|||||||
ConditionalPushRule::tombstone(),
|
ConditionalPushRule::tombstone(),
|
||||||
ConditionalPushRule::reaction(),
|
ConditionalPushRule::reaction(),
|
||||||
ConditionalPushRule::server_acl(),
|
ConditionalPushRule::server_acl(),
|
||||||
#[cfg(feature = "unstable-msc3958")]
|
|
||||||
ConditionalPushRule::suppress_edits(),
|
ConditionalPushRule::suppress_edits(),
|
||||||
#[cfg(feature = "unstable-msc3930")]
|
#[cfg(feature = "unstable-msc3930")]
|
||||||
ConditionalPushRule::poll_response(),
|
ConditionalPushRule::poll_response(),
|
||||||
@ -314,7 +313,6 @@ impl ConditionalPushRule {
|
|||||||
/// Matches [event replacements].
|
/// Matches [event replacements].
|
||||||
///
|
///
|
||||||
/// [event replacements]: https://spec.matrix.org/latest/client-server-api/#event-replacements
|
/// [event replacements]: https://spec.matrix.org/latest/client-server-api/#event-replacements
|
||||||
#[cfg(feature = "unstable-msc3958")]
|
|
||||||
pub fn suppress_edits() -> Self {
|
pub fn suppress_edits() -> Self {
|
||||||
Self {
|
Self {
|
||||||
actions: vec![],
|
actions: vec![],
|
||||||
@ -601,8 +599,6 @@ pub enum PredefinedOverrideRuleId {
|
|||||||
RoomServerAcl,
|
RoomServerAcl,
|
||||||
|
|
||||||
/// `.m.rule.suppress_edits`
|
/// `.m.rule.suppress_edits`
|
||||||
#[cfg(feature = "unstable-msc3958")]
|
|
||||||
#[ruma_enum(rename = ".org.matrix.msc3958.suppress_edits")]
|
|
||||||
SuppressEdits,
|
SuppressEdits,
|
||||||
|
|
||||||
/// `.m.rule.poll_response`
|
/// `.m.rule.poll_response`
|
||||||
|
@ -212,7 +212,6 @@ unstable-msc3932 = ["ruma-common/unstable-msc3932"]
|
|||||||
unstable-msc3954 = ["ruma-events?/unstable-msc3954"]
|
unstable-msc3954 = ["ruma-events?/unstable-msc3954"]
|
||||||
unstable-msc3955 = ["ruma-events?/unstable-msc3955"]
|
unstable-msc3955 = ["ruma-events?/unstable-msc3955"]
|
||||||
unstable-msc3956 = ["ruma-events?/unstable-msc3956"]
|
unstable-msc3956 = ["ruma-events?/unstable-msc3956"]
|
||||||
unstable-msc3958 = ["ruma-common/unstable-msc3958"]
|
|
||||||
unstable-msc3983 = ["ruma-client-api?/unstable-msc3983"]
|
unstable-msc3983 = ["ruma-client-api?/unstable-msc3983"]
|
||||||
unstable-msc4075 = ["ruma-events?/unstable-msc4075"]
|
unstable-msc4075 = ["ruma-events?/unstable-msc4075"]
|
||||||
unstable-pdu = ["ruma-events?/unstable-pdu"]
|
unstable-pdu = ["ruma-events?/unstable-pdu"]
|
||||||
@ -258,7 +257,6 @@ __ci = [
|
|||||||
"unstable-msc3954",
|
"unstable-msc3954",
|
||||||
"unstable-msc3955",
|
"unstable-msc3955",
|
||||||
"unstable-msc3956",
|
"unstable-msc3956",
|
||||||
"unstable-msc3958",
|
|
||||||
"unstable-msc3983",
|
"unstable-msc3983",
|
||||||
"unstable-msc4075",
|
"unstable-msc4075",
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user