mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 18:59:17 +00:00
Remove dead & duplicated code (#11405)
* Remove dead code * Make dead code happier * DRY pickle additional data calculation * Iterate
This commit is contained in:
committed by
GitHub
parent
672ad98ec7
commit
27d79458da
+1
-1
@@ -139,7 +139,7 @@ async function getCryptoContext(client: MatrixClient): Promise<CryptoContext> {
|
||||
!!(pkCache && (await pkCache.getCrossSigningKeyCache?.("user_signing"))),
|
||||
),
|
||||
secret_storage_ready: String(await client.isSecretStorageReady()),
|
||||
secret_storage_key_in_account: String(!!(await secretStorage.hasKey())),
|
||||
secret_storage_key_in_account: String(await secretStorage.hasKey()),
|
||||
session_backup_key_in_secret_storage: String(!!(await client.isKeyBackupKeyStored())),
|
||||
session_backup_key_cached: String(!!sessionBackupKeyFromCache),
|
||||
session_backup_key_well_formed: String(sessionBackupKeyFromCache instanceof Uint8Array),
|
||||
|
||||
Reference in New Issue
Block a user