This commit is contained in:
Sorunome 2020-05-22 13:22:28 +02:00
parent c9a0c5302a
commit 1a8ddb2750
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C
1 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ class DeviceKeys extends _SignedKey {
curve25519Key != null &&
ed25519Key != null;
Future<void> setVerified(bool newVerified, Client client) {
Future<void> setVerified(bool newVerified) {
_verified = newVerified;
return client.database
?.setVerifiedUserDeviceKey(newVerified, client.id, userId, deviceId);
@ -336,7 +336,7 @@ class DeviceKeys extends _SignedKey {
blocked = json['blocked'] ?? false;
}
KeyVerification startVerification(Client client) {
KeyVerification startVerification() {
final request =
KeyVerification(client: client, userId: userId, deviceId: deviceId);
request.start();