Code improvement to our_address(), reducing arguments
This commit is contained in:
@@ -829,7 +829,7 @@ class Address extends Model
|
||||
public function getPacket(Collection $msgs,string $passwd=NULL): ?Packet
|
||||
{
|
||||
$s = Setup::findOrFail(config('app.id'));
|
||||
$ao = our_address($this->zone->domain,$this);
|
||||
$ao = our_address($this);
|
||||
|
||||
// If we dont match on the address, we cannot pack mail for that system
|
||||
if (! $ao) {
|
||||
|
Reference in New Issue
Block a user