better set verified
This commit is contained in:
parent
18f8d0db63
commit
dbcdb6883d
|
@ -237,7 +237,7 @@ abstract class SignableKey extends MatrixSignableKey {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> setVerified(bool newVerified, [bool sign = true]) {
|
void setVerified(bool newVerified, [bool sign = true]) {
|
||||||
_verified = newVerified;
|
_verified = newVerified;
|
||||||
if (newVerified &&
|
if (newVerified &&
|
||||||
sign &&
|
sign &&
|
||||||
|
@ -246,7 +246,6 @@ abstract class SignableKey extends MatrixSignableKey {
|
||||||
// sign the key!
|
// sign the key!
|
||||||
client.encryption.crossSigning.sign([this]);
|
client.encryption.crossSigning.sign([this]);
|
||||||
}
|
}
|
||||||
return Future.value();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<void> setBlocked(bool newBlocked);
|
Future<void> setBlocked(bool newBlocked);
|
||||||
|
|
Loading…
Reference in a new issue