Save robot processed messages
This commit is contained in:
parent
3dc18a3f1f
commit
04be81852a
@ -66,6 +66,9 @@ class MessageProcess implements ShouldQueue
|
|||||||
if (! $this->skipbot)
|
if (! $this->skipbot)
|
||||||
foreach (config('process.robots') as $class) {
|
foreach (config('process.robots') as $class) {
|
||||||
if ($processed = $class::handle($this->msg)) {
|
if ($processed = $class::handle($this->msg)) {
|
||||||
|
$o->local = TRUE;
|
||||||
|
$o->save();
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user