Skip to content

Commit

Permalink
fix(preview-quote-toots): only preview the quote toots if the statusF…
Browse files Browse the repository at this point in the history
…orContent.quote parameter is null
  • Loading branch information
LucasGGamerM committed Jul 4, 2024
1 parent 0d4158a commit 20558f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ public static ArrayList<StatusDisplayItem> buildItems(BaseStatusListFragment<?>
lastUrl = "https://" + lastUrl;
}

if (UiUtils.looksLikeFediverseUrl(lastUrl)) {
if (UiUtils.looksLikeFediverseUrl(lastUrl) && statusForContent.quote == null) {
new GetSearchResults(lastUrl, GetSearchResults.Type.STATUSES, true, null, 0, 0).setCallback(new Callback<>(){
@Override
public void onSuccess(SearchResults results){
Expand Down

0 comments on commit 20558f0

Please sign in to comment.