mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 06:52:35 +01:00
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)
|
||||
? null
|
||||
: credentials["prev_batch"],
|
||||
newOlmAccount: credentials["olmAccount"],
|
||||
);
|
||||
}
|
||||
|
||||
@ -88,6 +89,7 @@ class Store extends StoreAPI {
|
||||
"matrixVersions": client.matrixVersions,
|
||||
"token": client.accessToken,
|
||||
"userID": client.userID,
|
||||
"olmAccount": client.pickledOlmAccount,
|
||||
};
|
||||
await setItem(client.clientName, json.encode(credentials));
|
||||
return;
|
||||
|
@ -124,8 +124,8 @@ packages:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: "."
|
||||
ref: d2f3377d70511776ebd65ab3ccda5ca9bf248067
|
||||
resolved-ref: d2f3377d70511776ebd65ab3ccda5ca9bf248067
|
||||
ref: "4d4eabb9a228f46066361b19c50a410afbecc7c9"
|
||||
resolved-ref: "4d4eabb9a228f46066361b19c50a410afbecc7c9"
|
||||
url: "https://gitlab.com/famedly/famedlysdk.git"
|
||||
source: git
|
||||
version: "0.0.1"
|
||||
|
Loading…
Reference in New Issue
Block a user