Improve cold start performance.

This commit is contained in:
Cody Henthorne
2022-07-21 12:29:58 -04:00
parent d159a0482a
commit fe6058e0df
28 changed files with 82 additions and 97 deletions

View File

@@ -187,7 +187,7 @@ class SafetyNumberBottomSheetRepository {
}
private fun getGroupMemberships(recipient: Recipient, groups: List<Recipient>): List<Recipient> {
return groups.filter { it.participants.contains(recipient) }
return groups.filter { it.participantIds.contains(recipient.id) }
}
data class ResolvedIdentity(val recipient: Recipient, val identityRecord: Optional<IdentityRecord>)