Exported echomail should have the Hub as the OrigNet/OrigNode

This commit is contained in:
2023-10-09 21:54:46 +11:00
parent 953d3725b2
commit c8ab8d3db3
2 changed files with 11 additions and 11 deletions

View File

@@ -425,10 +425,10 @@ class Message extends FTNBase
public function __toString(): string
{
$return = pack(collect(self::header)->pluck(1)->join(''),
$this->ff,
$this->tf,
$this->fn,
$this->tn,
$this->ff, // Originating Node
$this->tf, // Destination Node
$this->fn, // Originating Net
$this->tn, // Destination Net
$this->flags&~(self::FLAG_INTRANSIT|self::FLAG_LOCAL), // Turn off our local/intransit bits
$this->cost,
$this->date->format('d M y H:i:s'),