mirror of
https://framagit.org/veretcle/oolatoocs.git
synced 2025-07-20 12:31:18 +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 {
|
||||
continue;
|
||||
};
|
||||
println!("Toot: {}", toot.id);
|
||||
println!("{:?}", tweet_content);
|
||||
}
|
||||
}
|
||||
|
@@ -43,6 +43,7 @@ pub async fn get_mastodon_timeline_since(
|
||||
.is_some_and(|r| r == t.account.id)
|
||||
})
|
||||
.filter(|t| t.visibility == StatusVisibility::Public)
|
||||
.filter(|t| t.reblog.is_none())
|
||||
.collect();
|
||||
|
||||
timeline.reverse();
|
||||
|
Reference in New Issue
Block a user