From b62f18cf3da22b2cfd94dfea1091b57bef8a897c Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 26 Jun 2024 23:42:25 +1000 Subject: [PATCH] Remove protocol checking for validated, presented akas are now by definition valid --- app/Classes/Protocol/Binkp.php | 7 +------ app/Classes/Protocol/EMSI.php | 5 ----- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/app/Classes/Protocol/Binkp.php b/app/Classes/Protocol/Binkp.php index 508741c..f4cd174 100644 --- a/app/Classes/Protocol/Binkp.php +++ b/app/Classes/Protocol/Binkp.php @@ -1510,12 +1510,7 @@ final class Binkp extends BaseProtocol Log::info(sprintf('%s:- We have authed these AKAs [%s]',self::LOGKEY,$node->aka_remote_authed->pluck('ftn')->join(','))); foreach ($node->aka_remote_authed as $ao) { - Log::debug(sprintf('%s:- Checking for any new mail and files to [%s]',self::LOGKEY,$ao->ftn)); - - if (! $ao->validated) { - Log::alert(sprintf('%s:! Address [%s] is not validated, so we wont bundle mail for it',self::LOGKEY,$ao->ftn)); - continue; - } + Log::info(sprintf('%s:- Checking for any new mail and files to [%s]',self::LOGKEY,$ao->ftn)); $this->send->mail($ao); $this->send->files($ao); diff --git a/app/Classes/Protocol/EMSI.php b/app/Classes/Protocol/EMSI.php index 580d6e4..7d551ad 100644 --- a/app/Classes/Protocol/EMSI.php +++ b/app/Classes/Protocol/EMSI.php @@ -1234,11 +1234,6 @@ final class EMSI extends BaseProtocol implements CRCInterface,ZmodemInterface // Add our mail to the queue if we have authenticated if ($this->node->aka_authed) foreach ($this->node->aka_remote_authed as $ao) { - if (! $ao->validated) { - Log::alert(sprintf('%s:! Address [%s] is not validated, so we wont bundle mail for it',self::LOGKEY,$ao->ftn)); - continue; - } - // Send mail while ($this->send->mail($ao)) { $z = new Zmodem;