use of de.pixart.messenger.crypto.axolotl.FingerprintStatus in project Pix-Art-Messenger by kriztan.
the class DatabaseBackend method getFingerprintStatus.
public FingerprintStatus getFingerprintStatus(Account account, String fingerprint) {
Cursor cursor = getIdentityKeyCursor(account, fingerprint);
final FingerprintStatus status;
if (cursor.getCount() > 0) {
cursor.moveToFirst();
status = FingerprintStatus.fromCursor(cursor);
} else {
status = null;
}
cursor.close();
return status;
}
Aggregations