feat: check if the key is verified by any master key

This commit is contained in:
Reza 2022-11-22 17:22:04 +01:00
parent aaaf63a0b8
commit ffb37e834f
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}