From 47ed1a3ae8b83b1bbb9bad81ebe3f80274ce653d Mon Sep 17 00:00:00 2001 From: Zed Date: Mon, 3 Jan 2022 02:55:25 +0100 Subject: [PATCH] Fix video placeholder thumbnail not showing --- src/views/tweet.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/tweet.nim b/src/views/tweet.nim index 2b209c4..bd33290 100644 --- a/src/views/tweet.nim +++ b/src/views/tweet.nim @@ -7,7 +7,7 @@ import ".."/[types, utils, formatters] proc getSmallPic(url: string): string = result = url - if "?" notin url: + if "?" notin url and not url.endsWith("placeholder.png"): result &= ":small" result = getPicUrl(result)