From 10372a9dbeec03dd7abc083eb5a6b96c671eb5ed Mon Sep 17 00:00:00 2001 From: Sorunome Date: Thu, 21 May 2020 16:52:25 +0200 Subject: [PATCH] verified devices are not blocked --- lib/src/utils/device_keys_list.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/utils/device_keys_list.dart b/lib/src/utils/device_keys_list.dart index baeb2f3..ca0d71d 100644 --- a/lib/src/utils/device_keys_list.dart +++ b/lib/src/utils/device_keys_list.dart @@ -81,7 +81,7 @@ abstract class _SignedKey { String get ed25519Key => keys['ed25519:$identifier']; - bool get verified => directVerified || crossVerified; + bool get verified => (directVerified || crossVerified) && !blocked; void setDirectVerified(bool v) { _verified = v;