diff --git a/lib/src/utils/device_keys_list.dart b/lib/src/utils/device_keys_list.dart index dfa0f78..c8430b7 100644 --- a/lib/src/utils/device_keys_list.dart +++ b/lib/src/utils/device_keys_list.dart @@ -237,7 +237,7 @@ abstract class SignableKey extends MatrixSignableKey { return false; } - Future 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 setBlocked(bool newBlocked);