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
1 changed files with 2 additions and 6 deletions

View File

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