Fixed content_id is missing in $extraFields passed to content spam checker


Well-known member
Affected version
When passing $extraParams to XF\Spam\ContentChecker in
  • \XF\Service\Post\Preparer::checkForSpam()
  • \XF\Service\Thread\Preparer::checkForSpam()
  • \XF\Service\ProfilePost\Preparer::checkForSpam()
  • \XF\Service\ProfilePostComment\Preparer::checkForSpam()
  • \XF\Service\Conversation\MessageManager::checkForSpam()
field content_type does get set - but not content_id, this makes it difficult for providers to make precise decisions.

For example if a new user
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.12).

Change log:
Include content IDs in extra data when performing spam checks
There may be a delay before changes are rolled out to the XenForo Community.
Top Bottom