feat(activitypub): implement on_like and on_announce_received in ThoughtsObjectHandler
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user