fix pipeline
This commit is contained in:
parent
3825f7292f
commit
6a36bb2d01
|
@ -158,6 +158,9 @@ abstract class SignableKey extends MatrixSignableKey {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool hasValidSignatureChain({bool verifiedOnly = true, Set<String> visited}) {
|
bool hasValidSignatureChain({bool verifiedOnly = true, Set<String> visited}) {
|
||||||
|
if (!client.encryptionEnabled) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
visited ??= <String>{};
|
visited ??= <String>{};
|
||||||
final setKey = '${userId};${identifier}';
|
final setKey = '${userId};${identifier}';
|
||||||
if (visited.contains(setKey)) {
|
if (visited.contains(setKey)) {
|
||||||
|
|
Loading…
Reference in a new issue