mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-19 14:19:06 -04:00
This patch renames the various `set_session_meta` methods to `set_or_reload_session`. The idea is to highlight that the method is not a simple setter: it sets but it _also_ updates the store' state. The private shortcut method in `matrix_sdk::Client::set_session_meta` is removed, and caller uses `client.base_client().set_or_reload_session` instead. Why removing this `Client::set_session_meta` shortcut method? Because it was creating confusion with another method: `Client::restoring_session`. This private shortcut method wasn't used in a lot of places, then I believe it's a nice improvement.