Dont launch bot processing for rescanned messages
This commit is contained in:
@@ -193,8 +193,8 @@ class MessageProcess implements ShouldQueue
|
||||
$o->id,
|
||||
));
|
||||
|
||||
// If the message is to a bot, we'll process it
|
||||
if (! $this->skipbot)
|
||||
// If the message is to a bot, but not rescanned, or purposely skipbot set, we'll process it
|
||||
if ((! $this->skipbot) && (! $this->msg->rescanned->count()))
|
||||
foreach (config('process.echomail') as $class) {
|
||||
if ($class::handle($this->msg)) {
|
||||
break;
|
||||
|
Reference in New Issue
Block a user