From da67fee0fc0c5c1f0880ec6c2dc5fbe031ab3748 Mon Sep 17 00:00:00 2001 From: VC Date: Thu, 5 Mar 2020 07:12:16 +0100 Subject: [PATCH] Deletes replies from the user_timeline --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/lib.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4915a4f..028302e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1498,7 +1498,7 @@ dependencies = [ [[package]] name = "scootaloo" -version = "0.1.5" +version = "0.1.6" dependencies = [ "clap", "egg-mode", diff --git a/Cargo.toml b/Cargo.toml index 0466cc3..6bc14b4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scootaloo" -version = "0.1.5" +version = "0.1.6" authors = ["VC "] edition = "2018" diff --git a/src/lib.rs b/src/lib.rs index dcf1329..9fc20b6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -76,7 +76,7 @@ fn get_oauth2_token(config: &Config) -> Token { /// Get twitter user timeline fn get_user_timeline(config: &Config, token: Token, lid: Option) -> Result, Box> { // fix the page size to 200 as it is the maximum Twitter authorizes - let (_timeline, feed) = block_on_all(user_timeline(&config.twitter.username, true, false, &token) + let (_timeline, feed) = block_on_all(user_timeline(&config.twitter.username, false, false, &token) .with_page_size(200) .older(lid))?;