always insert autocrypt key before update operations

This commit is contained in:
Vincent Breitmoser
2018-07-02 16:58:59 +02:00
parent 905dd728cc
commit 60ec78b9ae
3 changed files with 18 additions and 20 deletions

View File

@@ -40,10 +40,6 @@ public abstract class AutocryptPeer implements AutocryptPeersModel {
return gossip_key_is_verified_int() != 0;
}
public boolean hasKey() {
return autocryptPeer().master_key_id() != null;
}
public boolean isKeyRevoked() {
Boolean revoked = key_is_revoked_int();
return revoked != null && revoked;