fix: minor stuff
This commit is contained in:
parent
dd4d0696b3
commit
f969a733f1
|
|
@ -637,8 +637,7 @@ class KeyVerification {
|
|||
}.contains(type)) {
|
||||
final deviceKeys = client.userDeviceKeys[userId]?.deviceKeys;
|
||||
deviceKeys?.removeWhere((_, value) =>
|
||||
value.hasValidSignatureChain(verifiedByTheirMasterKey: true) ==
|
||||
false);
|
||||
!value.hasValidSignatureChain(verifiedByTheirMasterKey: true));
|
||||
if (deviceKeys != null) {
|
||||
await client.sendToDeviceEncrypted(
|
||||
deviceKeys.values.toList(),
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@ abstract class SignableKey extends MatrixSignableKey {
|
|||
Set<String>? visited,
|
||||
Set<String>? onlyValidateUserIds,
|
||||
|
||||
/// Only check if this key is verified by any Master key.
|
||||
/// Only check if this key is verified by their Master key.
|
||||
bool verifiedByTheirMasterKey = false,
|
||||
}) {
|
||||
if (!client.encryptionEnabled) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue