feat: added homepage feed showing followed accounts
This commit is contained in:
@@ -59,8 +59,11 @@ proc genQueryParam*(query: Query): string =
|
||||
if i < query.fromUser.high:
|
||||
param &= "OR "
|
||||
|
||||
if query.fromUser.len > 0 and query.kind in {posts, media}:
|
||||
param &= "filter:self_threads OR -filter:replies "
|
||||
if query.fromUser.len > 0:
|
||||
if query.kind in {posts, media}:
|
||||
param &= "filter:self_threads OR -filter:replies "
|
||||
elif query.kind == tweets and query.fromUser.len > 1:
|
||||
param &= "filter:self_threads OR -filter:replies "
|
||||
|
||||
if "nativeretweets" notin query.excludes:
|
||||
param &= "include:nativeretweets "
|
||||
|
||||
Reference in New Issue
Block a user