Fix storing olm account
This commit is contained in:
parent
8ca42ee6e7
commit
d367d22250
|
@ -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;
|
||||||
|
|
|
@ -124,8 +124,8 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: d2f3377d70511776ebd65ab3ccda5ca9bf248067
|
ref: "4d4eabb9a228f46066361b19c50a410afbecc7c9"
|
||||||
resolved-ref: d2f3377d70511776ebd65ab3ccda5ca9bf248067
|
resolved-ref: "4d4eabb9a228f46066361b19c50a410afbecc7c9"
|
||||||
url: "https://gitlab.com/famedly/famedlysdk.git"
|
url: "https://gitlab.com/famedly/famedlysdk.git"
|
||||||
source: git
|
source: git
|
||||||
version: "0.0.1"
|
version: "0.0.1"
|
||||||
|
|
Loading…
Reference in a new issue