Fix "go to account" in search

This commit is contained in:
Grishka
2023-11-25 03:35:21 +03:00
parent 957bc76dbb
commit 723853079e
2 changed files with 4 additions and 4 deletions

View File

@@ -408,7 +408,7 @@ public class SearchQueryFragment extends MastodonRecyclerFragment<SearchResultVi
if(q.lastIndexOf('@')==0){
q+="@"+AccountSessionManager.get(accountID).domain;
}
((MainActivity)getActivity()).openSearchQuery(q, accountID, R.string.loading, true);
((MainActivity)getActivity()).openSearchQuery(q, accountID, R.string.loading, true, GetSearchResults.Type.ACCOUNTS);
}
private void onGoToStatusSearchClick(ListItem<?> item_){