Fix for when adding our address to path for outgoing echomails - introduced in 5fc6906
This commit is contained in:
@@ -152,6 +152,7 @@ class Message extends FTNBase
|
||||
*
|
||||
* @param Echomail|Netmail $o
|
||||
* @return self
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function packMessage(Echomail|Netmail $o): self
|
||||
{
|
||||
@@ -572,7 +573,8 @@ class Message extends FTNBase
|
||||
// FTS-0004.001/FSC-0068.001 The message SEEN-BY lines
|
||||
// FTS-0004.001/FSC-0068.001 The message PATH lines
|
||||
|
||||
$path = $this->mo->path->push($this->us)->filter(fn($item)=>($item->point_id === 0));
|
||||
// @todo This unique() function here shouldnt be required, but is while system generated messages are storing path/seenby
|
||||
$path = $this->mo->path->push($this->us)->unique('ftn')->filter(fn($item)=>($item->point_id === 0));
|
||||
|
||||
// Create our rogue seenby objects
|
||||
$seenby = $this->mo->seenby;
|
||||
|
Reference in New Issue
Block a user