feat(activitypub): implement on_like and on_announce_received in ThoughtsObjectHandler

This commit is contained in:
2026-05-15 04:55:50 +02:00
parent e691b20a05
commit a7527c50be
3 changed files with 86 additions and 4 deletions

View File

@@ -72,6 +72,7 @@ pub async fn build(cfg: &Config) -> Infrastructure {
Arc::new(ThoughtsObjectHandler::new(
Arc::new(PgActivityPubRepository::new(pool.clone())),
&cfg.base_url,
Some(event_publisher.clone()),
)),
cfg.base_url.clone(),
cfg.allow_registration,