Implemented CLI areafix:rescan

This commit is contained in:
2023-12-01 18:14:51 +11:00
parent 049b2c7204
commit 8f3d77b04d
2 changed files with 94 additions and 0 deletions

View File

@@ -104,6 +104,7 @@ final class Echomail extends Model implements Packet
$rogue = collect();
// @todo move the parseAddress processing into Message::class, and our address to the seenby (and thus no need to add it when we export)
// Parse SEEN-BY
if ($model->set_seenby->count())
$seenby = self::parseAddresses('seenby',$model->set_seenby,$model->fftn->zone,$rogue);
@@ -183,6 +184,7 @@ final class Echomail extends Model implements Packet
public function seenby()
{
return $this->belongsToMany(Address::class,'echomail_seenby')
->withPivot(['export_at','sent_at','sent_pkt'])
->FTN2DOrder();
}