Fix recording of netmails, when they contain taglines and origin lines

This commit is contained in:
2024-05-13 15:28:53 +10:00
parent b9b5cf4214
commit 6216ada5e5
3 changed files with 38 additions and 1 deletions

View File

@@ -116,6 +116,10 @@ class MessageProcess implements ShouldQueue
$o->cost = $this->msg->cost;
$o->msgid = $this->msg->msgid;
$o->tagline = $this->msg->tagline;
$o->tearline = $this->msg->tearline;
$o->origin = $this->msg->origin;
$o->subject = $this->msg->subject;
$o->msg = $this->msg->message;
@@ -372,7 +376,11 @@ class MessageProcess implements ShouldQueue
$o->msgid = $this->msg->msgid;
$o->replyid = $this->msg->replyid;
$o->msg = $this->msg->message_src."\r";
$o->tagline = $this->msg->tagline;
$o->tearline = $this->msg->tearline;
$o->origin = $this->msg->origin;
$o->msg = $this->msg->message;
$o->msg_src = $this->msg->message_src;
$o->msg_crc = md5($this->msg->message);