-use crate::{local_instance, objects::community::ApubCommunity};
-use activitypub_federation::{deser::values::MediaTypeMarkdown, utils::fetch_object_http};
-use activitystreams_kinds::object::ImageType;
-use lemmy_api_common::LemmyContext;
+use crate::objects::community::ApubCommunity;
+use activitypub_federation::{
+ config::Data,
+ fetch::fetch_object_http,
+ kinds::object::ImageType,
+ protocol::values::MediaTypeMarkdown,
+};
+use lemmy_api_common::context::LemmyContext;