Skip to content

Commit 6406d26

Browse files
committed
docs: Improve comment.
1 parent 81cd48e commit 6406d26

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

crates/matrix-sdk-common/src/deserialized_responses.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ pub enum AlgorithmInfo {
319319
},
320320
}
321321

322-
/// Represents information about a forwarder in the context of encryption.
322+
/// Struct containing information on the forwarder of the keys used to decrypt
323+
/// an event.
323324
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)]
324325
pub struct ForwarderInfo {
325326
/// The user ID of the forwarder.

crates/matrix-sdk-crypto/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file.
88

99
### Features
1010

11+
- Added a new field `forwarder` to `InboundGroupSession` of type `ForwarderData`, which stores
12+
information about the forwarder of a session shared in a room key bundle under
13+
[MSC4268](https://github.com/matrix-org/matrix-spec-proposals/pull/4268).
14+
([#5980])(https://github.com/matrix-org/matrix-rust-sdk/pull/5980)
1115
- The `OutboundGroupSession` and `OlmMachine` now return the `EncryptionInfo`
1216
used when encrypting raw events.
1317
([#5936](https://github.com/matrix-org/matrix-rust-sdk/pull/5936))

0 commit comments

Comments
 (0)