Skip to content

Commit 5d396e4

Browse files
andybalaamstefanceriu
authored andcommitted
crypto: Refer to MSC4362 when we are talking about encrypted state
1 parent 9ab886f commit 5d396e4

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

crates/matrix-sdk/src/room/futures.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ impl<'a> SendRawStateEvent<'a> {
363363
/// 1. Whether the room supports encrypted state events, by inspecting the
364364
/// room's encryption state.
365365
/// 2. Whether the event type is considered "critical" or excluded from
366-
/// encryption under MSC3414.
366+
/// encryption under MSC4362.
367367
///
368368
/// # Returns
369369
///

crates/matrix-sdk/src/room/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2893,7 +2893,7 @@ impl Room {
28932893
/// If the experimental state event encryption feature is enabled, this
28942894
/// method will transparently encrypt the event if this room is
28952895
/// encrypted (except if the event type is considered critical for the room
2896-
/// to function, as outlined in [MSC3414][msc3414]).
2896+
/// to function, as outlined in [MSC4362][msc4362]).
28972897
///
28982898
/// Returns the parsed response from the server.
28992899
///
@@ -2934,7 +2934,7 @@ impl Room {
29342934
/// # anyhow::Ok(()) };
29352935
/// ```
29362936
///
2937-
/// [msc3414]: https://github.com/matrix-org/matrix-spec-proposals/blob/travis/msc/encrypted-state/proposals/3414-encrypted-state.md
2937+
/// [msc4362]: https://github.com/matrix-org/matrix-spec-proposals/blob/travis/msc/encrypted-state/proposals/4362-encrypted-state.md
29382938
#[cfg(feature = "experimental-encrypted-state-events")]
29392939
#[instrument(skip_all)]
29402940
pub fn send_state_event<'a>(
@@ -3008,7 +3008,7 @@ impl Room {
30083008
/// If the experimental state event encryption feature is enabled, this
30093009
/// method will transparently encrypt the event if this room is
30103010
/// encrypted (except if the event type is considered critical for the room
3011-
/// to function, as outlined in [MSC3414][msc3414]).
3011+
/// to function, as outlined in [MSC4362][msc4362]).
30123012
///
30133013
/// Returns the parsed response from the server.
30143014
///
@@ -3049,7 +3049,7 @@ impl Room {
30493049
/// # anyhow::Ok(()) };
30503050
/// ```
30513051
///
3052-
/// [msc3414]: https://github.com/matrix-org/matrix-spec-proposals/blob/travis/msc/encrypted-state/proposals/3414-encrypted-state.md
3052+
/// [msc4362]: https://github.com/matrix-org/matrix-spec-proposals/pull/4362
30533053
#[cfg(feature = "experimental-encrypted-state-events")]
30543054
pub fn send_state_event_for_key<'a, C, K>(
30553055
&'a self,
@@ -3123,7 +3123,7 @@ impl Room {
31233123
/// If the experimental state event encryption feature is enabled, this
31243124
/// method will transparently encrypt the event if this room is
31253125
/// encrypted (except if the event type is considered critical for the room
3126-
/// to function, as outlined in [MSC3414][msc3414]).
3126+
/// to function, as outlined in [MSC4362][msc4362]).
31273127
///
31283128
/// Returns the parsed response from the server.
31293129
///
@@ -3158,7 +3158,7 @@ impl Room {
31583158
/// # anyhow::Ok(()) };
31593159
/// ```
31603160
///
3161-
/// [msc3414]: https://github.com/matrix-org/matrix-spec-proposals/blob/travis/msc/encrypted-state/proposals/3414-encrypted-state.md
3161+
/// [msc4362]: https://github.com/matrix-org/matrix-spec-proposals/pull/4362
31623162
#[cfg(feature = "experimental-encrypted-state-events")]
31633163
#[instrument(skip_all)]
31643164
pub fn send_state_event_raw<'a>(

0 commit comments

Comments
 (0)