Dont launch bot processing for rescanned messages

This commit is contained in:
Deon George
2021-09-13 23:02:39 +10:00
parent 79e613a811
commit 2cd6db2060
2 changed files with 8 additions and 2 deletions

View File

@@ -109,6 +109,7 @@ class Message extends FTNBase
private array $src; // Address the message is from
private array $dst; // Address the message is to
private Collection $rescanned; // Message was created as a result of a rescan
private Collection $path; // FTS-0004.001 The message PATH lines
private Collection $pathaddress; // Collection of Addresses after parsing seenby
private Collection $rogue_path; // Collection of FTNs in the Seen-by that are not defined
@@ -189,6 +190,7 @@ class Message extends FTNBase
$this->dst = [];
$this->point = [];
$this->rescanned = collect();
$this->path = collect();
$this->seenby = collect();
$this->seenaddress = collect();
@@ -370,6 +372,7 @@ class Message extends FTNBase
case 'origin':
case 'kludge':
case 'rescanned':
case 'path':
case 'seenby':
case 'pathaddress':
@@ -765,6 +768,9 @@ class Message extends FTNBase
elseif ($t = $this->kludge('PATH: ',$v))
$this->path->push($t);
elseif ($t = $this->kludge('RESCANNED ',$v))
$this->rescanned->push($t);
elseif ($t = $this->kludge('SEEN-BY: ',$v))
$this->seenby->push($t);