Fix video placeholder thumbnail not showing
This commit is contained in:
parent
bb981df657
commit
47ed1a3ae8
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import ".."/[types, utils, formatters]
|
||||||
|
|
||||||
proc getSmallPic(url: string): string =
|
proc getSmallPic(url: string): string =
|
||||||
result = url
|
result = url
|
||||||
if "?" notin url:
|
if "?" notin url and not url.endsWith("placeholder.png"):
|
||||||
result &= ":small"
|
result &= ":small"
|
||||||
result = getPicUrl(result)
|
result = getPicUrl(result)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue