Change the way we figure out zones in packets, some packet testing, fix Echomail import

This commit is contained in:
Deon George
2021-08-29 23:58:12 +10:00
parent 271f066667
commit 9fb6d191d0
11 changed files with 218 additions and 48 deletions

View File

@@ -200,10 +200,10 @@ class ProcessPacket implements ShouldQueue
$o->msgid = $this->msg->msgid;
$o->msg = $this->msg->message_src;
$o->path = $this->msg->pathaddress->pluck('id')->jsonSerialize();
$o->path = $this->msg->pathaddress->jsonSerialize();
$o->rogue_path = $this->msg->rogue_path->jsonSerialize();
$o->seenby = $this->msg->seenaddress->pluck('id')->jsonSerialize();
$o->rogue_seen = $this->msg->rogue_path->jsonSerialize();
$o->seenby = $this->msg->seenaddress->jsonSerialize();
$o->rogue_seen = $this->msg->rogue_seen->jsonSerialize();
$o->toexport = TRUE;
$o->save();