Fix echoarea display with the oldest message

This commit is contained in:
Deon George
2023-01-01 14:30:15 +11:00
parent d825f71a15
commit c1ab14f2e6
3 changed files with 5 additions and 2 deletions

View File

@@ -446,6 +446,7 @@ class Packet extends FTNBase implements \Iterator, \Countable
$e = NULL;
try {
// @todo Need to work out the correct region for the host_id
Address::unguard();
$ao = Address::firstOrNew([
'zone_id' => $msg->tzone->id,
@@ -488,6 +489,7 @@ class Packet extends FTNBase implements \Iterator, \Countable
$e = NULL;
try {
// @todo Need to work out the correct region for the host_id
Address::unguard();
$ao = Address::firstOrNew([
'zone_id' => $msg->fzone->id,

View File

@@ -139,7 +139,7 @@ class MessageProcess implements ShouldQueue
// Else we are echomail
} else {
Log::debug(sprintf('%s:! Looking for echomail area [%s] for mail from [%s]',self::LOGKEY,$this->msg->echoarea,$this->msg->fboss));
Log::debug(sprintf('%s: - Looking for echomail area [%s] for mail from [%s]',self::LOGKEY,$this->msg->echoarea,$this->msg->fboss));
if (! $this->msg->fboss_o) {
Log::error(sprintf('%s:! Cannot process message for echomail area [%s] for mail from [%s] with msgid [%s] - no boss object?',self::LOGKEY,$this->msg->echoarea,$this->msg->fboss,$this->msg->msgid));