Skip to content

Commit 948012d

Browse files
committed
fixup! refactor(timeline): Make RoomDataProvider provide Decryptor to simplify redecryption
Improve comment
1 parent 7d67b90 commit 948012d

File tree

1 file changed

+2
-1
lines changed
  • crates/matrix-sdk-ui/src/timeline/controller

1 file changed

+2
-1
lines changed

crates/matrix-sdk-ui/src/timeline/controller/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ pub(super) struct TimelineController<P: RoomDataProvider = Room> {
160160

161161
/// A [`RoomDataProvider`] implementation, providing data.
162162
///
163-
/// In the real world, this is just a [`Room`].
163+
/// The type is a `RoomDataProvider` to allow testing. In the real world,
164+
/// this would normally be a [`Room`].
164165
pub(crate) room_data_provider: P,
165166

166167
/// Settings applied to this timeline.

0 commit comments

Comments
 (0)