Skip to content

Commit ad688a7

Browse files
author
Tom James Holub
committed
added pgpDecrypted.countAttempts() | #104
1 parent a72957c commit ad688a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

FlowCrypt/src/main/java/com/flowcrypt/email/js/PgpDecrypted.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ public Integer countPotentiallyMatchingKeys() {
4747
return getCount("key_mismatch");
4848
}
4949

50+
public Integer countAttempts() {
51+
return getCount("attempts");
52+
}
53+
5054
public String[] getEncryptedForLongids() {
5155
return getStrings("encrypted_for");
5256
}

0 commit comments

Comments
 (0)