mirror of
https://framagit.org/veretcle/oolatoocs.git
synced 2025-07-20 20:41:17 +02:00
Almost initial commit
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
use crate::config::MastodonConfig;
|
||||
use megalodon::{
|
||||
entities::Status, generator, mastodon::mastodon::Mastodon, megalodon::AppInputOptions,
|
||||
megalodon::GetHomeTimelineInputOptions, Megalodon,
|
||||
entities::{Status, StatusVisibility},
|
||||
generator,
|
||||
mastodon::mastodon::Mastodon,
|
||||
megalodon::AppInputOptions,
|
||||
megalodon::GetHomeTimelineInputOptions,
|
||||
Megalodon,
|
||||
};
|
||||
use std::error::Error;
|
||||
use std::io::stdin;
|
||||
@@ -38,6 +42,7 @@ pub async fn get_mastodon_timeline_since(
|
||||
.clone()
|
||||
.is_some_and(|r| r == t.account.id)
|
||||
})
|
||||
.filter(|t| t.visibility == StatusVisibility::Public)
|
||||
.collect();
|
||||
|
||||
timeline.reverse();
|
||||
|
Reference in New Issue
Block a user