Fix #515 - set resolve to false when searching accounts
This commit is contained in:
parent
f647c308a2
commit
1b8304d230
|
@ -619,7 +619,7 @@ public class ComposeAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder
|
||||||
matcherEmoji = emojiPattern.matcher(searchIn);
|
matcherEmoji = emojiPattern.matcher(searchIn);
|
||||||
if (matcherMention.matches()) {
|
if (matcherMention.matches()) {
|
||||||
String searchGroup = matcherMention.group();
|
String searchGroup = matcherMention.group();
|
||||||
accountsVM.searchAccounts(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, searchGroup, 10, true, false).observe((LifecycleOwner) context, accounts -> {
|
accountsVM.searchAccounts(BaseMainActivity.currentInstance, BaseMainActivity.currentToken, searchGroup, 5, false, false).observe((LifecycleOwner) context, accounts -> {
|
||||||
if (accounts == null) {
|
if (accounts == null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue