state-res: Minor fixes & doc updates
This commit is contained in:
parent
44db63657f
commit
7fbfe59091
@ -16,7 +16,7 @@ all-features = true
|
||||
|
||||
[features]
|
||||
compat = []
|
||||
unstable-pre-spec = ["ruma-events/unstable-pre-spec"]
|
||||
unstable-pre-spec = ["ruma-events/unstable-pre-spec", "ruma-identifiers/unstable-pre-spec"]
|
||||
unstable-exhaustive-types = []
|
||||
|
||||
[dependencies]
|
||||
|
@ -8,7 +8,6 @@ pub enum RoomDisposition {
|
||||
/// A room version that has a stable specification.
|
||||
Stable,
|
||||
/// A room version that is not yet fully specified.
|
||||
#[allow(dead_code)]
|
||||
Unstable,
|
||||
}
|
||||
|
||||
@ -62,8 +61,12 @@ pub struct RoomVersion {
|
||||
/// Extra rules when verifying redaction events.
|
||||
pub extra_redaction_checks: bool,
|
||||
/// Allow knocking in event authentication.
|
||||
///
|
||||
/// See: https://spec.matrix.org/unstable/rooms/v7/ for more information.
|
||||
pub allow_knocking: bool,
|
||||
/// Allow knocking in event authentication.
|
||||
/// Adds support for the restricted join rule.
|
||||
///
|
||||
/// See: https://github.com/matrix-org/matrix-doc/pull/3289 for more information.
|
||||
pub restricted_join_rules: bool,
|
||||
}
|
||||
|
||||
|
@ -36,7 +36,6 @@ pub fn do_check(
|
||||
expected_state_ids: Vec<EventId>,
|
||||
) {
|
||||
// To activate logging use `RUST_LOG=debug cargo t`
|
||||
// The logger is initialized in the `INITIAL_EVENTS` function.
|
||||
|
||||
let init_events = INITIAL_EVENTS();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user