Skip to content

Commit a1c1b0e

Browse files
timeline: make room() public (#3248)
1 parent 3ac123d commit a1c1b0e

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ impl Timeline {
153153
TimelineBuilder::new(room)
154154
}
155155

156-
fn room(&self) -> &Room {
156+
/// Returns the room for this timeline.
157+
pub fn room(&self) -> &Room {
157158
self.inner.room()
158159
}
159160

0 commit comments

Comments
 (0)