mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-15 11:36:07 -04:00
fix(sdk): Fix logic if read marker event was not in the timeline
This commit is contained in:
committed by
Jonas Platte
parent
c808a72914
commit
5dc6416a76
@@ -277,6 +277,7 @@ fn update_fully_read_item(
|
||||
*fully_read_event_in_timeline = false;
|
||||
}
|
||||
(Some(from), Some(to)) => {
|
||||
*fully_read_event_in_timeline = true;
|
||||
items_lock.move_from_to(from, to);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user