matrix-rust-sdk/matrix_sdk_base/src
Damir Jelić ea5f7f1d19 matrix-sdk: Don't require the the session at client creation time.
The client objects in the sdk accepted an optional session argument at
creation time. If provided this would restore the client into a logged
in state.

Since we need to restore the client state and encryption state at some
point it makes sense to do it when the client transitions into a logged
in state. At the same time we would like to avoid the client creation to
be async.

This introduces a restore_login() method which can be called instead of
the login() method to restore a session.
2020-05-22 15:23:58 +02:00
..
event_emitter matrix-sdk: Don't require the the session at client creation time. 2020-05-22 15:23:58 +02:00
models matrix-sdk: Don't require the the session at client creation time. 2020-05-22 15:23:58 +02:00
state matrix-sdk: Don't require the the session at client creation time. 2020-05-22 15:23:58 +02:00
client.rs matrix-sdk: Don't require the the session at client creation time. 2020-05-22 15:23:58 +02:00
error.rs state_store: move room file when room state changes, test room_state_change method, doc edits 2020-05-18 16:26:27 -04:00
lib.rs base: Add some missing debug implementations and add more strict lints. 2020-05-13 12:34:46 +02:00
session.rs matrix-sdk: Move the bulk of the sdk into a separate base crate. 2020-05-07 14:58:38 +02:00