- Affected version
- 2.2.12
When checking a thread for spam, the title is not included in the 
	
	
	
		
The post preparer service only checks the post (which does not have a title), so the title is missed.
This seems inconsistent (and most likely not what a user would expect) as for example the subject of the contact form or the title of a conversation is included in content spam checks.
				
			message that is checked for spam:\XF\Service\Thread\Creator
		PHP:
	
	public function checkForSpam()
{
    if ($this->thread->discussion_state == 'visible' && $this->user->isSpamCheckRequired())
    {
        $this->postPreparer->checkForSpam();
    }
}The post preparer service only checks the post (which does not have a title), so the title is missed.
This seems inconsistent (and most likely not what a user would expect) as for example the subject of the contact form or the title of a conversation is included in content spam checks.
 
 
		 
 
		 
 
		 
 
		