diff --git a/app/Jobs/ProcessPacket.php b/app/Jobs/ProcessPacket.php index d205e68..0a2bf29 100644 --- a/app/Jobs/ProcessPacket.php +++ b/app/Jobs/ProcessPacket.php @@ -162,7 +162,7 @@ class ProcessPacket implements ShouldQueue // Else we are echomail } else { $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(); // Check for duplicate messages @@ -195,7 +195,7 @@ class ProcessPacket implements ShouldQueue $o->datetime = $this->msg->date; $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->msgid = $this->msg->msgid;