Increase tweet avatar resolution

This commit is contained in:
Zed 2020-11-08 02:56:06 +01:00
parent b389723bf5
commit 0f72b64ce2

View file

@ -27,7 +27,7 @@ proc renderHeader(tweet: Tweet; retweet: string; prefs: Prefs): VNode =
tdiv(class="tweet-header"): tdiv(class="tweet-header"):
a(class="tweet-avatar", href=("/" & tweet.profile.username)): a(class="tweet-avatar", href=("/" & tweet.profile.username)):
var size = "_normal" var size = "_bigger"
if not prefs.autoplayGifs and tweet.profile.userpic.endsWith("gif"): if not prefs.autoplayGifs and tweet.profile.userpic.endsWith("gif"):
size = "_400x400" size = "_400x400"
genImg(tweet.profile.getUserpic(size), class="avatar") genImg(tweet.profile.getUserpic(size), class="avatar")