mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-11 17:33:51 -04:00
This patch updates `replace_all_events_by` to take an `EventsOrigin`. It is called in two places: by `add_initial_events`, in which case it is `EventsOrigin::Cache`, and by `handle_timeline`, in which case it is `EventsOrigin::Sync`.