Updates now that we have updated our_address() to differentiate public/mailer advertised addresses with all our addresses
This commit is contained in:
@@ -1024,7 +1024,7 @@ class Address extends Model
|
||||
public function downlinks(): Collection
|
||||
{
|
||||
// We have no session data for this address, (and its not our address), by definition it has no children
|
||||
if (! $this->is_hosted && (! our_address()->pluck('id')->contains($this->id)))
|
||||
if (! $this->is_hosted && (! our_address(NULL,FALSE)->pluck('id')->contains($this->id)))
|
||||
return new Collection;
|
||||
|
||||
// If this system is not marked to default route for this address
|
||||
|
Reference in New Issue
Block a user