Fix routed netmails being packed for the hub, not the destination. Added some logging for idle netmails/emails
This commit is contained in:
@@ -275,4 +275,17 @@ class System extends Model
|
||||
return $this->akas->pluck('id')->search($item->command->address->id) !== FALSE; })
|
||||
->last();
|
||||
}
|
||||
|
||||
/**
|
||||
* Return other addresses that are no collected here, but are on the same network as us.
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Collection
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function uncommon(): Collection
|
||||
{
|
||||
$our = our_address();
|
||||
|
||||
return $this->akas->filter(fn($item)=>($item->parent() && (! $our->contains($item->parent()))));
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user