|
|
@ -76,6 +76,7 @@ class Store extends StoreAPI {
|
|
|
|
: (credentials["prev_batch"]?.isEmpty ?? true)
|
|
|
|
: (credentials["prev_batch"]?.isEmpty ?? true)
|
|
|
|
? null
|
|
|
|
? null
|
|
|
|
: credentials["prev_batch"],
|
|
|
|
: credentials["prev_batch"],
|
|
|
|
|
|
|
|
newOlmAccount: credentials["olmAccount"],
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -88,6 +89,7 @@ class Store extends StoreAPI {
|
|
|
|
"matrixVersions": client.matrixVersions,
|
|
|
|
"matrixVersions": client.matrixVersions,
|
|
|
|
"token": client.accessToken,
|
|
|
|
"token": client.accessToken,
|
|
|
|
"userID": client.userID,
|
|
|
|
"userID": client.userID,
|
|
|
|
|
|
|
|
"olmAccount": client.pickledOlmAccount,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
await setItem(client.clientName, json.encode(credentials));
|
|
|
|
await setItem(client.clientName, json.encode(credentials));
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|