feat: Attempt to detect already decrypted messages

This commit is contained in:
PapaTutuWawa committed 2022-10-02 17:03:39 +02:00
1 parent 2aa3674c4b
commit 0826d043d5
3 files changed
+15 -1

No files matched your search

+3 -1
View File
@@ -730,7 +730,9 @@ void main() {
msg.encryptedKeys,
);
expect(true, false);
} catch (_) {
} on MessageAlreadyDecryptedException catch (_) {
errorCounter++;
} on InvalidKeyExchangeException catch (_) {
errorCounter++;
}
}