Fix bug preventing the review sheet from opening.
This commit is contained in:
parent
879e05148b
commit
3f91824325
1 changed files with 5 additions and 1 deletions
|
@ -21,6 +21,7 @@ import org.thoughtcrime.securesms.recipients.RecipientUtil;
|
|||
import org.thoughtcrime.securesms.util.TextSecurePreferences;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Objects;
|
||||
|
||||
|
@ -130,7 +131,10 @@ class ReviewCardRepository {
|
|||
return;
|
||||
}
|
||||
|
||||
List<ReviewRecipient> recipients = Stream.of(recipientIds)
|
||||
HashSet<RecipientId> ids = new HashSet<>(recipientIds);
|
||||
ids.add(recipientId);
|
||||
|
||||
List<ReviewRecipient> recipients = Stream.of(ids)
|
||||
.map(Recipient::resolved)
|
||||
.map(ReviewRecipient::new)
|
||||
.sorted(new ReviewRecipient.Comparator(context, recipientId))
|
||||
|
|
Loading…
Add table
Reference in a new issue