Fix ping blank messages

This commit is contained in:
Deon George
2021-08-19 16:59:12 +10:00
parent bcf3297fdb
commit 8685c6407a
3 changed files with 8 additions and 4 deletions

View File

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