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:
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();