Exclude points when choosing what to remove from the net during nodelist processing
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 34s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m33s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2024-11-26 13:34:19 +11:00
parent 0bbff33fdd
commit b322a3f0b0

View File

@ -559,7 +559,9 @@ class NodelistImport implements ShouldQueue
$no->load('addresses');
$remove = $zo
->addresses->pluck('id')
->addresses
->filter(fn($item)=>(! $item->point_id))
->pluck('id')
->diff($no->addresses->pluck('id'))
->diff(our_address($do)->pluck('id'))
->diff(our_nodes($do)->pluck('id'));