From e0269c9718311f6fc48fe6251ea39d62c55a089f Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 22 Aug 2021 16:25:43 +1000 Subject: [PATCH] Fix processing packets with echomail messages from points --- app/Jobs/ProcessPacket.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;