From: Andre Vallestero Date: Mon, 11 May 2020 15:29:35 +0000 (-0400) Subject: Removed redundant erroneous check X-Git-Url: http://these/git/?a=commitdiff_plain;h=9155469e8aab1bd2963f09332c0a6075808a09ee;p=lemmy.git Removed redundant erroneous check --- diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index c1480f79..36a1e282 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -163,10 +163,7 @@ export class PostListing extends Component { if (isImage(post.url)) { if (post.url.includes('pictshare')) { return pictshareImage(post.url, thumbnail); - } else if ( - post.thumbnail_url && - post.thumbnail_url.includes('pictshare') - ) { + } else if (post.thumbnail_url) { return pictshareImage(post.thumbnail_url, thumbnail); } else { return post.url;