-use crate::{
- apub::inbox::{
- activities::{
- create::receive_create,
- delete::receive_delete,
- dislike::receive_dislike,
- like::receive_like,
- remove::receive_remove,
- undo::receive_undo,
- update::receive_update,
- },
- shared_inbox::{get_community_id_from_activity, receive_unhandled_activity},
+use crate::inbox::{
+ activities::{
+ create::receive_create,
+ delete::receive_delete,
+ dislike::receive_dislike,
+ like::receive_like,
+ remove::receive_remove,
+ undo::receive_undo,
+ update::receive_update,
},
- LemmyContext,
+ shared_inbox::{get_community_id_from_activity, receive_unhandled_activity},
};
use activitystreams::{
activity::*,
use actix_web::HttpResponse;
use anyhow::Context;
use lemmy_utils::{location_info, LemmyError};
+use lemmy_websocket::LemmyContext;
pub async fn receive_announce(
activity: AnyBase,