Deletes replies from the user_timeline

This commit is contained in:
VC
2020-03-05 07:12:16 +01:00
parent 07ec4ee0d6
commit da67fee0fc
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@@ -1498,7 +1498,7 @@ dependencies = [
[[package]]
name = "scootaloo"
version = "0.1.5"
version = "0.1.6"
dependencies = [
"clap",
"egg-mode",

View File

@@ -1,6 +1,6 @@
[package]
name = "scootaloo"
version = "0.1.5"
version = "0.1.6"
authors = ["VC <veretcle+framagit@mateu.be>"]
edition = "2018"

View File

@@ -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<u64>) -> Result<Vec<Tweet>, Box<dyn Error>> {
// 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))?;