diff --git a/crates/matrix-sdk-base/src/store/mod.rs b/crates/matrix-sdk-base/src/store/mod.rs index 2a27a8e063e..2564b02ae7f 100644 --- a/crates/matrix-sdk-base/src/store/mod.rs +++ b/crates/matrix-sdk-base/src/store/mod.rs @@ -274,9 +274,6 @@ impl Deref for Store { pub struct StateChanges { /// The sync token that relates to this update. pub sync_token: Option, - /// A user session, containing an access token and information about the - /// associated user account. - pub session: Option, /// A mapping of event type string to `AnyBasicEvent`. pub account_data: BTreeMap>, /// A mapping of `UserId` to `PresenceEvent`. diff --git a/crates/matrix-sdk-sqlite/src/state_store.rs b/crates/matrix-sdk-sqlite/src/state_store.rs index 29c88b09c7e..c00ef0025e1 100644 --- a/crates/matrix-sdk-sqlite/src/state_store.rs +++ b/crates/matrix-sdk-sqlite/src/state_store.rs @@ -847,7 +847,6 @@ impl StateStore for SqliteStateStore { .with_transaction(move |txn| { let StateChanges { sync_token, - session: _, account_data, presence, profiles,