Always show retweets unless excluded in search

This commit is contained in:
Zed
2020-06-17 14:12:38 +02:00
parent 0e58c36bae
commit 33f0ab0ba5
4 changed files with 9 additions and 16 deletions

View File

@@ -21,8 +21,9 @@ proc showRss*(req: Request; hostname: string; query: Query): Future[Rss] {.async
(profile, timeline) =
await fetchSingleTimeline(after, query, skipRail=true)
else:
let multiQuery = query.getMultiQuery(names)
timeline = await getSearch[Tweet](multiQuery, after)
var q = query
q.fromUser = names
timeline = await getSearch[Tweet](q, after)
# this is kinda dumb
profile = Profile(
username: name,