Code improvement to our_address(), reducing arguments
This commit is contained in:
@@ -16,7 +16,7 @@ trait MsgID
|
||||
{
|
||||
// Only create a MSGID for locally generated content
|
||||
if ((! $this->exists) && ($this->flags & Message::FLAG_LOCAL) && (is_null(Arr::get($this->attributes,'msgid')))) {
|
||||
$ftn = our_address($this->fftn->zone->domain,$this->fftn);
|
||||
$ftn = our_address($this->fftn);
|
||||
$this->attributes['msgid'] = sprintf('%s %08x',$ftn->ftn4d,timew());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user