From 025a4a5e3878bcc3f5126074f154e3d51aa9c091 Mon Sep 17 00:00:00 2001 From: Addison Beck Date: Thu, 20 Jan 2022 16:25:04 -0500 Subject: [PATCH] [bug] Index search service when setting decrypted ciphers (#620) With the move to a central StateService we erroniously cut out search indexing from the process of setting decrypted ciphers to memory. This commit calls the method responsible for setting decrypted ciphers and indexing when decrypting, instead of setting decrypted ciphers directly. --- common/src/services/cipher.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/services/cipher.service.ts b/common/src/services/cipher.service.ts index 00f94c911a1..e9002146503 100644 --- a/common/src/services/cipher.service.ts +++ b/common/src/services/cipher.service.ts @@ -355,7 +355,7 @@ export class CipherService implements CipherServiceAbstraction { await Promise.all(promises); decCiphers.sort(this.getLocaleSortingFunction()); - await this.stateService.setDecryptedCiphers(decCiphers); + await this.setDecryptedCipherCache(decCiphers); return decCiphers; }