fix(preview-quote-toots): only preview the quote toots if the statusForContent.quote parameter is null

This commit is contained in:
LucasGGamerM
2024-07-04 16:01:06 -03:00
parent 0d4158a612
commit 20558f0a19

View File

@@ -389,7 +389,7 @@ public abstract class StatusDisplayItem{
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){