mirror of https://github.com/LemmyNet/lemmy.git
rename new_fetcher to dereference_object_id
parent
1013d1a46d
commit
171d17e00d
|
@ -1,4 +1,4 @@
|
|||
use crate::{fetcher::new_fetcher::dereference, ActorType};
|
||||
use crate::{fetcher::dereference_object_id::dereference, ActorType};
|
||||
use activitystreams::{
|
||||
base::BaseExt,
|
||||
link::{LinkExt, Mention},
|
||||
|
|
|
@ -9,7 +9,7 @@ use crate::{
|
|||
},
|
||||
activity_queue::send_to_community_new,
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
generate_moderators_url,
|
||||
ActorType,
|
||||
};
|
||||
|
|
|
@ -8,7 +8,7 @@ use crate::{
|
|||
},
|
||||
activity_queue::send_to_community_new,
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
ActorType,
|
||||
};
|
||||
use activitystreams::{
|
||||
|
|
|
@ -10,7 +10,7 @@ use crate::{
|
|||
},
|
||||
activity_queue::send_to_community_new,
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
generate_moderators_url,
|
||||
ActorType,
|
||||
};
|
||||
|
|
|
@ -8,7 +8,7 @@ use crate::{
|
|||
},
|
||||
activity_queue::send_to_community_new,
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
ActorType,
|
||||
};
|
||||
use activitystreams::{
|
||||
|
|
|
@ -12,7 +12,7 @@ use crate::{
|
|||
},
|
||||
activity_queue::send_to_community_new,
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
ActorType,
|
||||
};
|
||||
use activitystreams::{
|
||||
|
|
|
@ -4,7 +4,7 @@ use crate::{
|
|||
verify_mod_action,
|
||||
verify_person_in_community,
|
||||
},
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
ActorType,
|
||||
};
|
||||
use lemmy_api_common::blocking;
|
||||
|
|
|
@ -7,7 +7,7 @@ use crate::{
|
|||
},
|
||||
activity_queue::send_activity_new,
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
ActorType,
|
||||
};
|
||||
use activitystreams::{
|
||||
|
|
|
@ -7,7 +7,7 @@ use crate::{
|
|||
},
|
||||
activity_queue::send_activity_new,
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
ActorType,
|
||||
};
|
||||
use activitystreams::{
|
||||
|
|
|
@ -7,7 +7,7 @@ use crate::{
|
|||
},
|
||||
activity_queue::send_activity_new,
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
ActorType,
|
||||
};
|
||||
use activitystreams::{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use crate::{
|
||||
check_community_or_site_ban,
|
||||
check_is_apub_id_valid,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
generate_moderators_url,
|
||||
};
|
||||
use anyhow::anyhow;
|
||||
|
|
|
@ -10,7 +10,7 @@ use crate::{
|
|||
},
|
||||
activity_queue::send_to_community_new,
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
objects::{post::Page, FromApub, ToApub},
|
||||
ActorType,
|
||||
};
|
||||
|
|
|
@ -12,7 +12,7 @@ use crate::{
|
|||
},
|
||||
activity_queue::send_to_community_new,
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
ActorType,
|
||||
PostOrComment,
|
||||
};
|
||||
|
|
|
@ -8,7 +8,7 @@ use crate::{
|
|||
},
|
||||
activity_queue::send_to_community_new,
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
ActorType,
|
||||
PostOrComment,
|
||||
};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use crate::{
|
||||
activities::community::announce::AnnounceActivity,
|
||||
fetcher::{fetch::fetch_remote_object, new_fetcher::dereference},
|
||||
fetcher::{dereference_object_id::dereference, fetch::fetch_remote_object},
|
||||
objects::community::Group,
|
||||
};
|
||||
use activitystreams::collection::{CollectionExt, OrderedCollection};
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
pub mod community;
|
||||
pub mod dereference_object_id;
|
||||
mod fetch;
|
||||
pub mod new_fetcher;
|
||||
pub mod post_or_comment;
|
||||
pub mod search;
|
||||
|
||||
use crate::{
|
||||
fetcher::{fetch::FetchError, new_fetcher::dereference},
|
||||
fetcher::{dereference_object_id::dereference, fetch::FetchError},
|
||||
ActorType,
|
||||
};
|
||||
use chrono::NaiveDateTime;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
use crate::{
|
||||
fetcher::{fetch::fetch_remote_object, is_deleted, new_fetcher::dereference},
|
||||
fetcher::{dereference_object_id::dereference, fetch::fetch_remote_object, is_deleted},
|
||||
find_object_by_id,
|
||||
objects::{comment::Note, community::Group, person::Person as ApubPerson, post::Page, FromApub},
|
||||
Object,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use crate::{
|
||||
activities::verify_person_in_community,
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
migrations::CommentInReplyToMigration,
|
||||
objects::{create_tombstone, FromApub, Source, ToApub},
|
||||
ActorType,
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
use crate::{
|
||||
activities::{extract_community, verify_person_in_community},
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
objects::{create_tombstone, FromApub, ImageObject, Source, ToApub},
|
||||
ActorType,
|
||||
};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
use crate::{
|
||||
extensions::context::lemmy_context,
|
||||
fetcher::new_fetcher::dereference,
|
||||
fetcher::dereference_object_id::dereference,
|
||||
objects::{create_tombstone, FromApub, Source, ToApub},
|
||||
};
|
||||
use activitystreams::{
|
||||
|
|
Loading…
Reference in New Issue