Fix hidePinned preference

This commit is contained in:
Zed
2022-01-30 16:58:20 +01:00
parent f10519c41a
commit 8ecac89ea0
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ proc showTimeline*(request: Request; query: Query; cfg: Config; prefs: Prefs;
html = renderTweetSearch(timeline, prefs, getPath())
return renderMain(html, request, cfg, prefs, "Multi", rss=rss)
var profile = await fetchProfile(after, query)
var profile = await fetchProfile(after, query, skipPinned=prefs.hidePins)
template u: untyped = profile.user
if u.suspended: