Fix processing packets with echomail messages from points
This commit is contained in:
parent
cab402d146
commit
e0269c9718
@ -162,7 +162,7 @@ class ProcessPacket implements ShouldQueue
|
|||||||
// Else we are echomail
|
// Else we are echomail
|
||||||
} else {
|
} else {
|
||||||
$ea = Echoarea::where('name',$this->msg->echoarea)
|
$ea = Echoarea::where('name',$this->msg->echoarea)
|
||||||
->where('domain_id',$this->msg->fftn_o->zone->domain_id)
|
->where('domain_id',$this->msg->fboss_o->zone->domain_id)
|
||||||
->single();
|
->single();
|
||||||
|
|
||||||
// Check for duplicate messages
|
// Check for duplicate messages
|
||||||
@ -195,7 +195,7 @@ class ProcessPacket implements ShouldQueue
|
|||||||
$o->datetime = $this->msg->date;
|
$o->datetime = $this->msg->date;
|
||||||
$o->tzoffset = $this->msg->date->utcOffset();
|
$o->tzoffset = $this->msg->date->utcOffset();
|
||||||
|
|
||||||
$o->fftn_id = ($x=$this->msg->fftn_o) ? $x->id : NULL;
|
$o->fftn_id = ($x=$this->msg->fboss_o) ? $x->id : NULL;
|
||||||
$o->echoarea_id = $ea?->id;
|
$o->echoarea_id = $ea?->id;
|
||||||
$o->msgid = $this->msg->msgid;
|
$o->msgid = $this->msg->msgid;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user