Fixed XF\Service\Conversation\Replier missing isAutomated function

DragonByte Tech

Well-known member
Affected version
2.0.0 Beta 7
Okay, so technically this isn't a bug buuuuuuuuuuuut....

XF\Service\Conversation\Creator has
PHP:
    public function isAutomated()
    {
        $this->setLogIp(false);
        $this->setAutoSpamCheck(false);
    }

This code should be added to XF\Service\Conversation\Replier as well, it's a bit silly that it isn't there.


Fillip
 
I have renamed the Conversation\Creator::isAutomated() method to setIsAutomated() for consistency with other services and added this method to Replier and MessageEditor.

These services all now expose setPerformValidations() as well (which setIsAutomated will disable automatically).
 
I have renamed the Conversation\Creator::isAutomated() method to setIsAutomated() for consistency with other services and added this method to Replier and MessageEditor.

These services all now expose setPerformValidations() as well (which setIsAutomated will disable automatically).
I'll make the appropriate changes in my code and in my local XF2 files to be ready for Beta 8, thanks Mike :)


Fillip
 
Back
Top Bottom