Exclude points when choosing what to remove from the net during nodelist processing
This commit is contained in:
parent
a161b8fc5e
commit
38c68982ec
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user