Watch
1
0
Fork
You've already forked nitter
0
mirror of https://github.com/zedeus/nitter synced 2026-11-22 12:57:19 +00:00

Fix video placeholder thumbnail not showing

This commit is contained in:
Zed 2022-01-03 02:55:25 +01:00
commit 47ed1a3ae8

View file

@ -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)