Fix mention suggestions for groups of 1.

Fixes #10152
This commit is contained in:
Cody Henthorne 2020-10-30 13:05:14 -04:00
parent 39cebfbb4e
commit c8302174a9

View File

@ -40,7 +40,7 @@ final class MentionsPickerRepository {
@WorkerThread
@NonNull List<Recipient> search(@NonNull MentionQuery mentionQuery) {
if (mentionQuery.query == null) {
if (mentionQuery.query == null || mentionQuery.members.isEmpty()) {
return Collections.emptyList();
}