From e22b520b5a2ac09411780eacf5cbb4a755ff05fe Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 12 Dec 2017 18:52:59 +0000 Subject: [PATCH] EteSync api: fill in the collection info's uid. --- src/api/EteSync.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/api/EteSync.tsx b/src/api/EteSync.tsx index a9d5f30..b91d31c 100644 --- a/src/api/EteSync.tsx +++ b/src/api/EteSync.tsx @@ -143,7 +143,9 @@ export class Journal extends BaseJournal { this._content = JSON.parse(cryptoManager.decrypt(this.encryptedContent())); } - return new CollectionInfo(this._content); + let ret = new CollectionInfo(this._content); + ret.uid = this.uid; + return ret; } calculateHmac(cryptoManager: CryptoManager, encrypted: byte[]): byte[] {