From 1a8ddb2750dad77140fb701e6aaeb463df4f93c1 Mon Sep 17 00:00:00 2001 From: Sorunome Date: Fri, 22 May 2020 13:22:28 +0200 Subject: [PATCH] fixes --- lib/src/utils/device_keys_list.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/utils/device_keys_list.dart b/lib/src/utils/device_keys_list.dart index c43b6da..928d1c2 100644 --- a/lib/src/utils/device_keys_list.dart +++ b/lib/src/utils/device_keys_list.dart @@ -281,7 +281,7 @@ class DeviceKeys extends _SignedKey { curve25519Key != null && ed25519Key != null; - Future setVerified(bool newVerified, Client client) { + Future 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();