Skip to content

Commit

Permalink
Fix mentions with share to single group story flow.
Browse files Browse the repository at this point in the history
  • Loading branch information
cody-signal authored and greyson-signal committed Nov 8, 2022
1 parent a81a4cd commit 9851bc3
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -46,6 +46,14 @@ sealed class MediaSelectionDestination {
}
}

override fun getRecipientSearchKey(): ContactSearchKey.RecipientSearchKey? {
return if (recipientSearchKeys.size == 1) {
recipientSearchKeys[0]
} else {
super.getRecipientSearchKey()
}
}

override fun getRecipientSearchKeyList(): List<ContactSearchKey.RecipientSearchKey> = recipientSearchKeys

override fun toBundle(): Bundle {
Expand Down

0 comments on commit 9851bc3

Please sign in to comment.