mirror of
https://framagit.org/veretcle/oolatoocs.git
synced 2025-07-20 20:41:17 +02:00
remove reblogs
This commit is contained in:
@@ -31,6 +31,7 @@ pub async fn run(config: &Config) {
|
|||||||
let Ok(tweet_content) = strip_everything(&toot.content, &toot.tags) else {
|
let Ok(tweet_content) = strip_everything(&toot.content, &toot.tags) else {
|
||||||
continue;
|
continue;
|
||||||
};
|
};
|
||||||
|
println!("Toot: {}", toot.id);
|
||||||
println!("{:?}", tweet_content);
|
println!("{:?}", tweet_content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -43,6 +43,7 @@ pub async fn get_mastodon_timeline_since(
|
|||||||
.is_some_and(|r| r == t.account.id)
|
.is_some_and(|r| r == t.account.id)
|
||||||
})
|
})
|
||||||
.filter(|t| t.visibility == StatusVisibility::Public)
|
.filter(|t| t.visibility == StatusVisibility::Public)
|
||||||
|
.filter(|t| t.reblog.is_none())
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
timeline.reverse();
|
timeline.reverse();
|
||||||
|
Reference in New Issue
Block a user