Rename activitypub::inbox module to handlers
This commit is contained in:
parent
8407bbe842
commit
1b1633d0b7
8 changed files with 5 additions and 5 deletions
|
@ -5,7 +5,7 @@ use tokio_postgres::GenericClient;
|
|||
|
||||
use crate::activitypub::activity::Object;
|
||||
use crate::activitypub::actor::ActorAddress;
|
||||
use crate::activitypub::inbox::create_note::handle_note;
|
||||
use crate::activitypub::handlers::create_note::handle_note;
|
||||
use crate::activitypub::receiver::parse_object_id;
|
||||
use crate::config::{Config, Instance};
|
||||
use crate::errors::{DatabaseError, HttpError, ValidationError};
|
||||
|
|
|
@ -4,7 +4,7 @@ mod collections;
|
|||
pub mod constants;
|
||||
pub mod deliverer;
|
||||
pub mod fetcher;
|
||||
pub mod inbox;
|
||||
pub mod handlers;
|
||||
mod receiver;
|
||||
pub mod views;
|
||||
mod vocabulary;
|
||||
|
|
|
@ -41,8 +41,8 @@ use super::fetcher::helpers::{
|
|||
get_or_import_profile_by_actor_id,
|
||||
import_post,
|
||||
};
|
||||
use super::inbox::update_note::handle_update_note;
|
||||
use super::inbox::update_person::handle_update_person;
|
||||
use super::handlers::update_note::handle_update_note;
|
||||
use super::handlers::update_person::handle_update_person;
|
||||
use super::vocabulary::*;
|
||||
|
||||
pub fn parse_actor_id(
|
||||
|
|
|
@ -3,7 +3,7 @@ use clap::Parser;
|
|||
use uuid::Uuid;
|
||||
|
||||
use mitra::activitypub::fetcher::fetchers::fetch_actor;
|
||||
use mitra::activitypub::inbox::update_person::update_actor;
|
||||
use mitra::activitypub::handlers::update_person::update_actor;
|
||||
use mitra::config;
|
||||
use mitra::database::create_database_client;
|
||||
use mitra::database::migrate::apply_migrations;
|
||||
|
|
Loading…
Reference in a new issue