fix pipeline

This commit is contained in:
Sorunome 2020-06-12 16:25:26 +02:00
parent 3825f7292f
commit 6a36bb2d01
No known key found for this signature in database
GPG key ID: B19471D07FC9BE9C

View file

@ -158,6 +158,9 @@ abstract class SignableKey extends MatrixSignableKey {
}
bool hasValidSignatureChain({bool verifiedOnly = true, Set<String> visited}) {
if (!client.encryptionEnabled) {
return false;
}
visited ??= <String>{};
final setKey = '${userId};${identifier}';
if (visited.contains(setKey)) {