Обновление 1.0.2-1.4.9 #1

Merged
Royce59 merged 9 commits from dev into main 2026-02-17 16:33:42 +00:00
Showing only changes of commit 6461ab60a1 - Show all commits

View File

@@ -416,6 +416,12 @@ export function DialogProvider(props: DialogProviderProps) {
*/ */
return; return;
} }
if(toPublicKey != props.dialog) {
/**
* Игнорируем если это не сообщение для этого диалога
*/
return;
}
const chachaDecryptedKey = Buffer.from(await decodeWithPassword(privatePlain, aesChachaKey), "binary"); const chachaDecryptedKey = Buffer.from(await decodeWithPassword(privatePlain, aesChachaKey), "binary");
const key = chachaDecryptedKey.slice(0, 32); const key = chachaDecryptedKey.slice(0, 32);
const nonce = chachaDecryptedKey.slice(32); const nonce = chachaDecryptedKey.slice(32);