matrix-rust-sdk/matrix_sdk_base/src
Damir Jelić 7cab7cadc9 crypto: Rework the cryptostore.
This modifies the cryptostore and storage logic in two ways:
    * The cryptostore trait has only one main save method.
    * The receive_sync method tries to save all the objects in one
    `save_changes()` call.

This means that all the changes a sync makes get commited to the store
in one transaction, leaving us in a consistent state.

This also means that we can pass the Changes struct the receive sync
method collects to our caller if the caller wishes to store the room
state and crypto state changes in a single transaction.
2020-10-20 17:19:37 +02:00
..
event_emitter Use identifier macros in tests 2020-08-06 13:03:32 +02:00
models Tweak descriptions given by Describe impls. 2020-10-12 20:45:47 +02:00
state matrix_sdk_base: room: add direct_target field 2020-10-08 16:10:58 +02:00
client.rs crypto: Rework the cryptostore. 2020-10-20 17:19:37 +02:00
error.rs base: Fix the docs for our feature flags. 2020-08-13 12:17:30 +02:00
lib.rs matrix_sdk_base: expose RoomMember 2020-10-08 13:16:33 +02:00
session.rs cargo fmt 2020-10-12 15:17:46 +02:00