File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
crates/matrix-sdk-ui/src/timeline Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -507,7 +507,7 @@ impl<P: RoomDataProvider> TimelineController<P> {
507
507
}
508
508
509
509
#[ cfg( test) ]
510
- pub ( super ) async fn subscribe (
510
+ pub ( super ) async fn subscribe_raw (
511
511
& self ,
512
512
) -> (
513
513
Vector < Arc < TimelineItem > > ,
Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ impl TestTimeline {
155
155
}
156
156
157
157
async fn subscribe ( & self ) -> impl Stream < Item = VectorDiff < Arc < TimelineItem > > > {
158
- let ( items, stream) = self . controller . subscribe ( ) . await ;
158
+ let ( items, stream) = self . controller . subscribe_raw ( ) . await ;
159
159
assert_eq ! ( items. len( ) , 0 , "Please subscribe to TestTimeline before adding items to it" ) ;
160
160
stream
161
161
}
You can’t perform that action at this time.
0 commit comments