Cast empty Collections to null, Cast strings to zstd compressed strings, add msg_src to echomails processed, fix duplicate seenbys
This commit is contained in:
@@ -214,13 +214,15 @@ class MessageProcess implements ShouldQueue
|
||||
$o->fftn_id = ($x=$this->msg->fboss_o) ? $x->id : NULL; // @todo This should be the node that originated the message - but since that node is not in the DB it would be null
|
||||
$o->echoarea_id = $ea->id;
|
||||
$o->msgid = $this->msg->msgid;
|
||||
$o->replyid = $this->msg->replyid;
|
||||
|
||||
$o->msg = $this->msg->message_src."\r";
|
||||
$o->msg_src = $this->msg->message_src;
|
||||
$o->msg_crc = md5($this->msg->message);
|
||||
$o->rogue_seenby = $this->msg->rogue_seenby;
|
||||
$o->rogue_path = $this->msg->rogue_path;
|
||||
$o->set_path = $this->msg->pathaddress->toArray();
|
||||
$o->set_seenby = $this->msg->seenaddress->toArray();
|
||||
$o->set_path = $this->msg->pathaddress;
|
||||
$o->set_seenby = $this->msg->seenaddress;
|
||||
|
||||
$o->save();
|
||||
|
||||
|
Reference in New Issue
Block a user