mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-09 14:18:34 +00:00
parent
39cebfbb4e
commit
c8302174a9
@ -40,7 +40,7 @@ final class MentionsPickerRepository {
|
|||||||
|
|
||||||
@WorkerThread
|
@WorkerThread
|
||||||
@NonNull List<Recipient> search(@NonNull MentionQuery mentionQuery) {
|
@NonNull List<Recipient> search(@NonNull MentionQuery mentionQuery) {
|
||||||
if (mentionQuery.query == null) {
|
if (mentionQuery.query == null || mentionQuery.members.isEmpty()) {
|
||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user