Поддержка синхронизации своих же вложений

This commit is contained in:
RoyceDa
2026-02-17 15:13:48 +02:00
parent b63c87f23c
commit 9c72523e0c
3 changed files with 10 additions and 11 deletions

View File

@@ -150,6 +150,7 @@ export function useAttachment(attachment: Attachment, keyPlain: string) {
}
setDownloadStatus(DownloadStatus.DECRYPTING);
//console.info("Decrypted attachment ", Buffer.from(keyPlain, 'binary').toString('hex'));
console.info("KP", keyPlain);
const decrypted = await decodeWithPassword(keyPlain, downloadedBlob);
setDownloadTag("");
if(attachment.type == AttachmentType.FILE) {