remove reblogs

This commit is contained in:
VC
2023-11-08 09:27:33 +01:00
parent 2804a8ab38
commit 0348bc0177
2 changed files with 2 additions and 0 deletions

View File

@@ -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);
}
}

View File

@@ -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();