From 20558f0a19662bd0c3e8ae88ba3e19b557c8c433 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Thu, 4 Jul 2024 16:01:06 -0300 Subject: [PATCH] fix(preview-quote-toots): only preview the quote toots if the statusForContent.quote parameter is null --- .../joinmastodon/android/ui/displayitems/StatusDisplayItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/StatusDisplayItem.java b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/StatusDisplayItem.java index 8f99ff16a4..e3e0eed61e 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/StatusDisplayItem.java +++ b/mastodon/src/main/java/org/joinmastodon/android/ui/displayitems/StatusDisplayItem.java @@ -389,7 +389,7 @@ public static ArrayList 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){