crypto: Refer to MSC4362 when we are talking about encrypted state

This commit is contained in:
Andy Balaam
2025-11-14 11:07:08 +00:00
committed by Stefan Ceriu
parent 9ab886fa2b
commit 5d396e4795
2 changed files with 7 additions and 7 deletions

View File

@@ -363,7 +363,7 @@ impl<'a> SendRawStateEvent<'a> {
/// 1. Whether the room supports encrypted state events, by inspecting the
/// room's encryption state.
/// 2. Whether the event type is considered "critical" or excluded from
/// encryption under MSC3414.
/// encryption under MSC4362.
///
/// # Returns
///

View File

@@ -2893,7 +2893,7 @@ impl Room {
/// If the experimental state event encryption feature is enabled, this
/// method will transparently encrypt the event if this room is
/// encrypted (except if the event type is considered critical for the room
/// to function, as outlined in [MSC3414][msc3414]).
/// to function, as outlined in [MSC4362][msc4362]).
///
/// Returns the parsed response from the server.
///
@@ -2934,7 +2934,7 @@ impl Room {
/// # anyhow::Ok(()) };
/// ```
///
/// [msc3414]: https://github.com/matrix-org/matrix-spec-proposals/blob/travis/msc/encrypted-state/proposals/3414-encrypted-state.md
/// [msc4362]: https://github.com/matrix-org/matrix-spec-proposals/blob/travis/msc/encrypted-state/proposals/4362-encrypted-state.md
#[cfg(feature = "experimental-encrypted-state-events")]
#[instrument(skip_all)]
pub fn send_state_event<'a>(
@@ -3008,7 +3008,7 @@ impl Room {
/// If the experimental state event encryption feature is enabled, this
/// method will transparently encrypt the event if this room is
/// encrypted (except if the event type is considered critical for the room
/// to function, as outlined in [MSC3414][msc3414]).
/// to function, as outlined in [MSC4362][msc4362]).
///
/// Returns the parsed response from the server.
///
@@ -3049,7 +3049,7 @@ impl Room {
/// # anyhow::Ok(()) };
/// ```
///
/// [msc3414]: https://github.com/matrix-org/matrix-spec-proposals/blob/travis/msc/encrypted-state/proposals/3414-encrypted-state.md
/// [msc4362]: https://github.com/matrix-org/matrix-spec-proposals/pull/4362
#[cfg(feature = "experimental-encrypted-state-events")]
pub fn send_state_event_for_key<'a, C, K>(
&'a self,
@@ -3123,7 +3123,7 @@ impl Room {
/// If the experimental state event encryption feature is enabled, this
/// method will transparently encrypt the event if this room is
/// encrypted (except if the event type is considered critical for the room
/// to function, as outlined in [MSC3414][msc3414]).
/// to function, as outlined in [MSC4362][msc4362]).
///
/// Returns the parsed response from the server.
///
@@ -3158,7 +3158,7 @@ impl Room {
/// # anyhow::Ok(()) };
/// ```
///
/// [msc3414]: https://github.com/matrix-org/matrix-spec-proposals/blob/travis/msc/encrypted-state/proposals/3414-encrypted-state.md
/// [msc4362]: https://github.com/matrix-org/matrix-spec-proposals/pull/4362
#[cfg(feature = "experimental-encrypted-state-events")]
#[instrument(skip_all)]
pub fn send_state_event_raw<'a>(