Use old timeline endpoint

This commit is contained in:
Zed
2023-07-21 18:56:39 +02:00
parent f881226b22
commit cc5841df30
6 changed files with 53 additions and 15 deletions

View File

@@ -53,7 +53,7 @@ proc fetchProfile*(after: string; query: Query; skipRail=false;
result =
case query.kind
of posts: await getGraphUserTweets(userId, TimelineKind.tweets, after)
of posts: await getTimeline(userId, after)
of replies: await getGraphUserTweets(userId, TimelineKind.replies, after)
of media: await getGraphUserTweets(userId, TimelineKind.media, after)
else: Profile(tweets: await getTweetSearch(query, after))