Tagline/tearline presentation is handled in Message::class

This commit is contained in:
Deon George 2021-08-19 17:24:56 +10:00
parent 8685c6407a
commit ad21285a8c
No known key found for this signature in database
GPG Key ID: 7670E8DC27415254

View File

@ -74,12 +74,8 @@ final class Netmail extends Model implements Packet
$o->reply = $this->reply; $o->reply = $this->reply;
$o->message = $this->msg; $o->message = $this->msg;
$o->tagline = $this->tagline;
if ($this->tagline) $o->tearline = $this->tearline;
$o->message .= '...'.$this->tagline;
if ($this->tearline)
$o->tearline .= '---'.$this->tearline;
// VIA kludge // VIA kludge
$via = $this->via ?: collect(); $via = $this->via ?: collect();