From ffb37e834f5e7f7e946fd5e1a6e5a1166324321c Mon Sep 17 00:00:00 2001 From: Reza Date: Tue, 22 Nov 2022 17:22:04 +0100 Subject: [PATCH] feat: check if the key is verified by any master key --- lib/src/utils/device_keys_list.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/src/utils/device_keys_list.dart b/lib/src/utils/device_keys_list.dart index 77a494f8..a5ead5b8 100644 --- a/lib/src/utils/device_keys_list.dart +++ b/lib/src/utils/device_keys_list.dart @@ -312,7 +312,8 @@ abstract class SignableKey extends MatrixSignableKey { final haveChain = key.hasValidSignatureChain( verifiedOnly: verifiedOnly, visited: visited_, - onlyValidateUserIds: onlyValidateUserIds); + onlyValidateUserIds: onlyValidateUserIds, + verifiedByAnyMasterKey: verifiedByAnyMasterKey); if (haveChain) { return true; }