Fix processing echomail and when mail crc is calculated as it was decompressing the CompressedString
This commit is contained in:
parent
18f5354d0c
commit
b443762739
@ -240,8 +240,6 @@ class Message extends FTNBase
|
||||
$o->mo->flags = $o->header['flags'];
|
||||
$o->mo->cost = $o->header['cost'];
|
||||
|
||||
$o->mo->msg_crc = md5($o->mo->msg_src);
|
||||
|
||||
if ($o->fftn)
|
||||
$o->mo->fftn_id = $o->fftn->id;
|
||||
else
|
||||
@ -699,6 +697,7 @@ class Message extends FTNBase
|
||||
// Process the message content
|
||||
if ($content=substr($message,$ptr_start,$ptr_end-$ptr_start)) {
|
||||
$o->msg_src = $content;
|
||||
$o->msg_crc = md5($content);
|
||||
$ptr_content_start = 0;
|
||||
|
||||
// See if we have a tagline
|
||||
|
@ -11,7 +11,7 @@ abstract class Process
|
||||
{
|
||||
public static function canProcess(Echoarea $eao): bool
|
||||
{
|
||||
return $eao->automsgs;
|
||||
return $eao->automsgs ? TRUE : FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user