use crate::{
- apub::{
- check_is_apub_id_valid,
- extensions::signatures::verify,
- fetcher::get_or_fetch_and_upsert_user,
- insert_activity,
- ActorType,
- },
- LemmyContext,
+ check_is_apub_id_valid,
+ extensions::signatures::verify,
+ fetcher::get_or_fetch_and_upsert_user,
+ insert_activity,
+ ActorType,
};
use activitystreams::{
activity::{ActorAndObject, Follow, Undo},
};
use lemmy_structs::blocking;
use lemmy_utils::{location_info, LemmyError};
+use lemmy_websocket::LemmyContext;
use log::debug;
use serde::{Deserialize, Serialize};
use std::fmt::Debug;