Remove processed packets if there were no issues
This commit is contained in:
@@ -695,7 +695,7 @@ class Message extends FTNBase
|
||||
if ($domain) {
|
||||
$validator->after(function($validator) {
|
||||
if (! Address::findFTN($this->fftn))
|
||||
$validator->errors()->add('from',sprintf('Undefined Node [%s] sent packet.',$this->fftn));
|
||||
$validator->errors()->add('from',sprintf('Undefined Node [%s] sent message.',$this->fftn));
|
||||
if (! Address::findFTN($this->tftn))
|
||||
$validator->errors()->add('to',sprintf('Undefined Node [%s] for destination.',$this->fftn));
|
||||
});
|
||||
|
Reference in New Issue
Block a user