mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-04-27 10:39:25 -04:00
The room sync could be over, and then the timeline items would not contain the updated item yet, if the timeline didn't get a chance to finish its internal update. Fix this by: 1. limiting the sync time to 10 seconds 2. giving up to one second for the timeline to update internally, by watching its stream of events (we're ignoring stream updates just after this loop)