mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-24 04:58:45 +00:00
Fix crash when opening non-gv2 group.
This commit is contained in:
@@ -337,8 +337,10 @@ class ConversationRepository(
|
||||
return Single.fromCallable {
|
||||
val recipients = if (groupRecord == null) {
|
||||
listOf(recipient)
|
||||
} else {
|
||||
} else if (groupRecord.isV2Group) {
|
||||
groupRecord.requireV2GroupProperties().getMemberRecipients(GroupTable.MemberSet.FULL_MEMBERS_EXCLUDING_SELF)
|
||||
} else {
|
||||
emptyList()
|
||||
}
|
||||
|
||||
val records = ApplicationDependencies.getProtocolStore().aci().identities().getIdentityRecords(recipients)
|
||||
|
||||
Reference in New Issue
Block a user