Fixes for Idle notifications
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 38s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m47s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2024-06-07 09:30:40 +10:00
parent a0b6df31f0
commit 95b6058020
2 changed files with 6 additions and 4 deletions

View File

@ -44,9 +44,10 @@ class AbsentNodes extends Echomails
Log::info(sprintf('%s:+ Creating NODE ABSENT echomail in [%s]',self::LOGKEY,$echoarea->name));
$our = our_address($echoarea->domain)->last();
$o->to = 'All';
$o->subject = 'Status changes for nodes';
$o->fftn_id = ($x=our_address($echoarea->domain)->last())->id;
$o->fftn_id = $our->id;
$o->kludges->put('CHRS:','CP437 2');
// Message
@ -95,7 +96,7 @@ class AbsentNodes extends Echomails
$o->msg = $msg->render();
$o->set_tagline = 'When life gives you lemons, freeze them and throw them back.';
$o->set_origin = sprintf('%s (%s)',Setup::PRODUCT_NAME,$x->ftn4d);
$o->set_origin = sprintf('%s (%s)',Setup::PRODUCT_NAME,$our->ftn4d);
$o->save();

View File

@ -45,8 +45,9 @@ class Test extends Echomails
Log::info(sprintf('%s:+ Creating TEST echomail in [%s]',self::LOGKEY,$echoarea->name));
$our = our_address($this->mo->fftn);
$o->to = $this->mo->from;
$o->fftn_id = ($x=our_address($this->mo->fftn))->id;
$o->fftn_id = $our->id;
$o->replyid = $this->mo->msgid;
$o->subject = 'Test Reply';
$o->kludges->put('CHRS:',$this->mo->kludges->get('chrs') ?: 'CP437 2');
@ -74,7 +75,7 @@ class Test extends Echomails
$o->msg = $msg->render();
$o->set_tagline = 'I ate a clock yesterday, it was very time-consuming.';
$o->set_origin = sprintf('%s (%s)',Setup::PRODUCT_NAME,$x->ftn4d);
$o->set_origin = sprintf('%s (%s)',Setup::PRODUCT_NAME,$our->ftn4d);
$o->save();