mirror of
https://framagit.org/veretcle/scootaloo.git
synced 2025-07-20 17:11:19 +02:00
Deletes the RT from the user_timeline : this is not OUR content and copying to Mastodon would be gross at best
This commit is contained in:
2
Cargo.lock
generated
2
Cargo.lock
generated
@@ -1492,7 +1492,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "scootaloo"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
dependencies = [
|
||||
"clap",
|
||||
"egg-mode",
|
||||
|
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "scootaloo"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
authors = ["VC <veretcle+framagit@mateu.be>"]
|
||||
edition = "2018"
|
||||
|
||||
|
@@ -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<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, true, &token)
|
||||
let (_timeline, feed) = block_on_all(user_timeline(&config.twitter.username, true, false, &token)
|
||||
.with_page_size(200)
|
||||
.older(lid))?;
|
||||
|
||||
|
Reference in New Issue
Block a user