File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
crates/matrix-sdk/src/room/timeline Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ impl<P: ProfileProvider> TimelineInner<P> {
352
352
}
353
353
354
354
let mut metadata_lock = self . metadata . lock ( ) . await ;
355
- for ( idx, event_id, session_id, utd) in utds_for_session. iter ( ) . rev ( ) {
355
+ for ( idx, event_id, session_id, utd) in utds_for_session {
356
356
let event = match olm_machine. decrypt_room_event ( utd. cast_ref ( ) , room_id) . await {
357
357
Ok ( ev) => ev,
358
358
Err ( e) => {
@@ -374,7 +374,7 @@ impl<P: ProfileProvider> TimelineInner<P> {
374
374
handle_remote_event (
375
375
event. event . cast ( ) ,
376
376
event. encryption_info ,
377
- TimelineItemPosition :: Update ( * idx) ,
377
+ TimelineItemPosition :: Update ( idx) ,
378
378
& self . items ,
379
379
& mut metadata_lock,
380
380
& self . profile_provider ,
You can’t perform that action at this time.
0 commit comments