Add inbox create/react actions (#387)

This will help us to debug why comments fail
This commit is contained in:
Matt Wiebe 2023-08-02 12:03:32 -05:00 committed by GitHub
parent 062c2af4c6
commit 48632a7e1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -368,6 +368,8 @@ class Inbox {
// re-add flood control
\add_action( 'check_comment_flood', 'check_comment_flood_db', 10, 4 );
do_action( 'activitypub_handled_reaction', $object, $user_id, $state, $commentdata );
}
/**
@ -423,6 +425,8 @@ class Inbox {
// re-add flood control
\add_action( 'check_comment_flood', 'check_comment_flood_db', 10, 4 );
do_action( 'activitypub_handled_create', $object, $user_id, $state, $commentdata );
}
/**