Further enhancement with #9063a2a - to ensure our message addressing and content picks the right address

This commit is contained in:
2023-12-18 15:13:16 +11:00
parent 1ded66990c
commit 13e51724c0
34 changed files with 68 additions and 93 deletions

View File

@@ -74,7 +74,6 @@ class NodelistImport implements ShouldQueue
*/
public function handle()
{
$us = Setup::findOrFail(config('app.id'));
$our_systems = SystemZone::select('system_id')
->get()
->pluck('system')
@@ -94,7 +93,7 @@ class NodelistImport implements ShouldQueue
->pluck('id')
->diff($our_systems);
$our_addresses = $us->system->addresses->pluck('id');
$our_addresses = our_address()->pluck('id');
// Get the file from the host
$file = $this->getFileFromHost(self::importkey,$this->file);