When a netmail has a msgid, dont overwrite it

This commit is contained in:
Deon George 2023-11-15 11:19:14 +11:00
parent ea42a347eb
commit 3b99c409e0

View File

@ -191,7 +191,10 @@ final class Netmail extends Model implements Packet
$o->intl = sprintf('%s %s',$this->tftn->ftn3d,$this->fftn->ftn3d);
$o->flags = $this->flags;
$o->msgid = sprintf('%s %08x',$this->fftn->ftn3d,crc32($this->id));
$o->msgid = $this->msgid
? $this->msgid
: sprintf('%s %08x',$this->fftn->ftn4d,timew($this->datetime));
if ($this->replyid)
$o->replyid = $this->replyid;