Merge pull request #27 from outis1one/claude/read-repo-wA3y1
fix: reveal mode broken + missing await + select rendering — v2.0.10
This commit is contained in:
+2
-2
@@ -476,7 +476,7 @@ const SilentSendSync = {
|
||||
if (!keyInfo) return { data: null, decrypted: false, needsAuth: true };
|
||||
try {
|
||||
const decrypted = await SilentSendCrypto.decryptWithKey(data.payload, keyInfo.key);
|
||||
return this._handleDecryptedMeta(decrypted);
|
||||
return await this._handleDecryptedMeta(decrypted);
|
||||
} catch {
|
||||
return { data: null, decrypted: false, needsAuth: true };
|
||||
}
|
||||
@@ -488,7 +488,7 @@ const SilentSendSync = {
|
||||
if (tempKeyStore) {
|
||||
try {
|
||||
const decrypted = await SilentSendCrypto.decryptWithKey(data.payload, tempKeyStore.key);
|
||||
return this._handleDecryptedMeta(decrypted);
|
||||
return await this._handleDecryptedMeta(decrypted);
|
||||
} catch { /* wrong key, fall through to prompt */ }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user