Add inbox create/react actions (#387)
This will help us to debug why comments fail
This commit is contained in:
parent
062c2af4c6
commit
48632a7e1b
1 changed files with 4 additions and 0 deletions
|
@ -368,6 +368,8 @@ class Inbox {
|
||||||
|
|
||||||
// re-add flood control
|
// re-add flood control
|
||||||
\add_action( 'check_comment_flood', 'check_comment_flood_db', 10, 4 );
|
\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
|
// re-add flood control
|
||||||
\add_action( 'check_comment_flood', 'check_comment_flood_db', 10, 4 );
|
\add_action( 'check_comment_flood', 'check_comment_flood_db', 10, 4 );
|
||||||
|
|
||||||
|
do_action( 'activitypub_handled_create', $object, $user_id, $state, $commentdata );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue