Implemented CLI areafix:rescan
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user