From 6bb9a7a7d7dc2af1aa2617d5e7c59cd28e3c750f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 30 Aug 2022 16:55:08 +0200 Subject: [PATCH] docs(crypto): Improve some docs about the forwarded curve chains Co-authored-by: Denis Kasak --- crates/matrix-sdk-crypto/src/olm/group_sessions/inbound.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/matrix-sdk-crypto/src/olm/group_sessions/inbound.rs b/crates/matrix-sdk-crypto/src/olm/group_sessions/inbound.rs index eea4094c9..c0661b866 100644 --- a/crates/matrix-sdk-crypto/src/olm/group_sessions/inbound.rs +++ b/crates/matrix-sdk-crypto/src/olm/group_sessions/inbound.rs @@ -463,8 +463,8 @@ pub struct PickledInboundGroupSession { pub signing_key: SigningKeys, /// The id of the room that the session is used in. pub room_id: OwnedRoomId, - /// The list of claimed Curve25519 that forwarded us this key. Will be None - /// if we directly received this session. + /// The list of claimed Curve25519 keys that forwarded us this key. Will be + /// empty if we directly received this session. #[serde( default, deserialize_with = "deserialize_curve_key_vec", @@ -519,7 +519,7 @@ mod test { use crate::olm::InboundGroupSession; #[async_test] - async fn inbound_group_session_seriailization() { + async fn inbound_group_session_serialization() { let pickle = r#" { "pickle": {