Increase tweet avatar resolution

This commit is contained in:
Zed 2020-11-08 02:56:06 +01:00
parent b389723bf5
commit 0f72b64ce2
1 changed files with 1 additions and 1 deletions

View File

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