feat: Add server-side support for MSC4563

This commit is contained in:
timedout authored and Ellis Git committed 2026-12-02 13:55:58 +00:00
1 parent 032e5ce65b
commit 34fb1dfb15
4 files changed
+62 -7

No files matched your search

+13
View File
@@ -146,6 +146,19 @@ pub struct Experiments {
/// default: false
#[serde(default)]
pub msc4560: SimpleExperiment,
/// MSC4563: `direct_message` push rule
///
/// Creates a new kind of push rule that creates a notification if a message
/// is received in a room that is in the user's direct message list. This
/// more accurately identifies direct messages, rather than relying on a "DM
/// room" only consisting of two members.
///
/// https://github.com/matrix-org/matrix-spec-proposals/pull/4563
///
/// default: false
#[serde(default)]
pub msc4563: SimpleExperiment,
}
/// Represents a "simple" experiment, which is either disabled or enabled.