fix(sdk): Fix logic if read marker event was not in the timeline

This commit is contained in:
Kévin Commaille
2022-11-24 15:19:46 +01:00
committed by Jonas Platte
parent c808a72914
commit 5dc6416a76

View File

@@ -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);
}
}