Fix untrusted records check.

This commit is contained in:
Alex Hart
2022-07-11 15:19:59 -03:00
parent efb82369b6
commit 05bcfcc43f

View File

@@ -39,7 +39,7 @@ object UntrustedRecords {
}
.flatten()
return ApplicationDependencies.getProtocolStore().aci().identities().getIdentityRecords(recipients).identityRecords
return ApplicationDependencies.getProtocolStore().aci().identities().getIdentityRecords(recipients).untrustedRecords
}
class UntrustedRecordsException(val untrustedRecords: List<IdentityRecord>, val destinations: Set<ContactSearchKey.RecipientSearchKey>) : Throwable()