From e5b1f4bbff19635dd5a8748140bd34c2fbaaca12 Mon Sep 17 00:00:00 2001 From: Zed Date: Mon, 10 Jul 2023 03:39:36 +0200 Subject: [PATCH] Disable multi-user timelines for now --- src/routes/timeline.nim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/routes/timeline.nim b/src/routes/timeline.nim index 4a06fff..4ac60d2 100644 --- a/src/routes/timeline.nim +++ b/src/routes/timeline.nim @@ -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)