Disable multi-user timelines for now

This commit is contained in:
Zed 2023-07-10 03:39:36 +02:00
parent 9d9849054c
commit e5b1f4bbff
1 changed files with 4 additions and 1 deletions

View File

@ -73,7 +73,10 @@ proc showTimeline*(request: Request; query: Query; cfg: Config; prefs: Prefs;
rss, after: string): Future[string] {.async.} =
if query.fromUser.len != 1:
let
timeline = await getGraphSearch(query, after)
# timeline = await getGraphSearch(query, after)
timeline = Profile(tweets: Timeline(beginning: true, content: @[Chain(content:
@[Tweet(tombstone: "This features is unavailable for now")]
)]))
html = renderTweetSearch(timeline.tweets, prefs, getPath())
return renderMain(html, request, cfg, prefs, "Multi", rss=rss)