mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-27 18:51:13 -04:00
docs(crypto): Improve some docs about the forwarded curve chains
Co-authored-by: Denis Kasak <dkasak@termina.org.uk>
This commit is contained in:
@@ -463,8 +463,8 @@ pub struct PickledInboundGroupSession {
|
||||
pub signing_key: SigningKeys<DeviceKeyAlgorithm>,
|
||||
/// 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": {
|
||||
|
||||
Reference in New Issue
Block a user