Fix #515 - set resolve to false when searching accounts

This commit is contained in:
Thomas 2022-11-22 09:44:58 +01:00
parent f647c308a2
commit 1b8304d230
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }