better set verified

This commit is contained in:
Sorunome 2020-06-21 21:48:06 +02:00
parent 18f8d0db63
commit dbcdb6883d
No known key found for this signature in database
GPG key ID: B19471D07FC9BE9C

View file

@ -237,7 +237,7 @@ abstract class SignableKey extends MatrixSignableKey {
return false;
}
Future<void> setVerified(bool newVerified, [bool sign = true]) {
void setVerified(bool newVerified, [bool sign = true]) {
_verified = newVerified;
if (newVerified &&
sign &&
@ -246,7 +246,6 @@ abstract class SignableKey extends MatrixSignableKey {
// sign the key!
client.encryption.crossSigning.sign([this]);
}
return Future.value();
}
Future<void> setBlocked(bool newBlocked);