Skip to content

Commit

Permalink
Fix bug where you couldn't add new raw phone numbers to groups.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal committed Feb 17, 2023
1 parent bb8b987 commit fde0726
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class ContactSearchRepository {
contactSearchKeys.map {
val isSelectable = when (it) {
is ContactSearchKey.RecipientSearchKey -> canSelectRecipient(it.recipientId)
is ContactSearchKey.UnknownRecipientKey -> it.sectionKey == ContactSearchConfiguration.SectionKey.PHONE_NUMBER
else -> false
}
ContactSearchSelectionResult(it, isSelectable)
Expand Down

0 comments on commit fde0726

Please sign in to comment.