feat: account purge handler, tombstone cleanup, AP tombstone signing + 410
This commit is contained in:
@@ -40,6 +40,7 @@ pub struct DatabaseOutput {
|
||||
pub refresh_session: Arc<dyn RefreshSessionRepository>,
|
||||
pub processed_events: Arc<dyn domain::ports::ProcessedEventLedger>,
|
||||
pub deduplicator: Arc<dyn MovieDeduplicator>,
|
||||
pub account_purger: Arc<dyn domain::ports::AccountPurger>,
|
||||
pub image_ref_command: Arc<dyn ImageRefCommand>,
|
||||
pub image_ref_query: Arc<dyn ImageRefQuery>,
|
||||
pub follow_command: Arc<dyn domain::ports::FollowCommand>,
|
||||
@@ -117,6 +118,10 @@ fn assemble(
|
||||
refresh_session: Arc::new(sqlite::SqliteRefreshSessionAdapter::new(w.pool.clone())) as _,
|
||||
processed_events: Arc::new(sqlite::SqliteProcessedEventLedger::new(w.pool.clone())) as _,
|
||||
deduplicator: w.deduplicator,
|
||||
account_purger: Arc::new(sqlite::SqliteAccountPurger::new(
|
||||
w.pool.clone(),
|
||||
instance.clone(),
|
||||
)) as _,
|
||||
image_ref_command,
|
||||
image_ref_query,
|
||||
follow_command: Arc::clone(&social) as _,
|
||||
|
||||
Reference in New Issue
Block a user