diff --git a/includes/rest/class-inbox.php b/includes/rest/class-inbox.php index 966625c..38969f7 100644 --- a/includes/rest/class-inbox.php +++ b/includes/rest/class-inbox.php @@ -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 ); } /**