From db92f419c8a73fa9b3dda9a7f7c3e765c63ff57a Mon Sep 17 00:00:00 2001 From: VC Date: Tue, 3 Mar 2020 16:47:17 +0100 Subject: [PATCH] =?UTF-8?q?Deletes=20the=20RT=20from=20the=20user=5Ftimeli?= =?UTF-8?q?ne=C2=A0:=20this=20is=20not=20OUR=20content=20and=20copying=20t?= =?UTF-8?q?o=20Mastodon=20would=20be=20gross=20at=20best?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 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 aae0e9c..1443b16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1492,7 +1492,7 @@ dependencies = [ [[package]] name = "scootaloo" -version = "0.1.3" +version = "0.1.4" dependencies = [ "clap", "egg-mode", diff --git a/Cargo.toml b/Cargo.toml index 7f95382..fae1731 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scootaloo" -version = "0.1.3" +version = "0.1.4" authors = ["VC "] edition = "2018" diff --git a/src/lib.rs b/src/lib.rs index 7a833d1..8c92ddc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -73,7 +73,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, true, &token) + let (_timeline, feed) = block_on_all(user_timeline(&config.twitter.username, true, false, &token) .with_page_size(200) .older(lid))?;