Show mention picker after only typing @.

This commit is contained in:
Cody Henthorne 2023-07-26 10:53:21 -04:00
parent 3731723472
commit a09bc53b99

View file

@ -14,7 +14,7 @@ class MentionsPickerRepositoryV2(
private val recipients: RecipientTable = SignalDatabase.recipients
) {
fun search(query: String, members: List<RecipientId>): Single<List<Recipient>> {
return if (query.isBlank() || members.isEmpty()) {
return if (members.isEmpty()) {
Single.just(emptyList())
} else {
Single